catalogApp.py
def showLogin():
    '''
    Renders the page for login.
    '''
    state = ''.join(random.choice(string.ascii_uppercase + string.digits)
                    for x in xrange(32))
    login_session['state'] = state
    # RENDER LOGIN TEMPLATE
    return render_template('newlogin.html', STATE=state,
                           login_session=login_session)

    Renders the page for login.
    
Renders the page for login.
Renders the page for login .
def showLogin():
    state = ''.join(random.choice(string.ascii_uppercase + string.digits)
                    for x in xrange(32))
    login_session['state'] = state
    return render_template('newlogin.html', STATE=state,
                           login_session=login_session)
def showLogin ( ) : state = '' . join ( random . choice ( string . ascii_uppercase + string . digits ) for x in xrange ( 32 ) ) login_session [ 'state' ] = state return render_template ( 'newlogin.html' , STATE = state , login_session = login_session )
Renders the page for login.
Renders the page for login .
'''
    Renders the page for login.
    ''' # RENDER LOGIN TEMPLATE