示例#1
0
def users():

    if session.get('username'):
        system = System()
        login_user = system.getUser(session.get('username'))
        customers = system.customers()
        return render_template('users.html', login_user=login_user, customers=customers)
    return redirect('/')
示例#2
0
def users():

    if 'username' in session:
        db.session.commit() ####### Make recent hit to the
        system = System()
        login_user = system.getUser(session.get('username'))
        customers = system.customers()
        return render_template('users.html', login_user=login_user, customers=customers)
    return redirect('/')
示例#3
0
def users():

    if session.get('username'):
        system = System()
        login_user = system.getUser(session.get('username'))
        customers = system.customers()
        return render_template('users.html',
                               login_user=login_user,
                               customers=customers)
    return redirect('/')
示例#4
0
def users():

    if 'username' in session:
        db.session.commit()  ####### Make recent hit to the
        system = System()
        login_user = system.getUser(session.get('username'))
        customers = system.customers()
        return render_template('users.html',
                               login_user=login_user,
                               customers=customers)
    return redirect('/')