Esempio n. 1
0
def home():
    if not current_user.is_anonymous():
        return dashboard()
    # FIXME: Figure out what to put here
    from datahub.model import Account
    accounts = Account.query.all()
    return render_template('home.html', accounts=accounts)
Esempio n. 2
0
def home():
    if not current_user.is_anonymous():
        return dashboard()
    # FIXME: Figure out what to put here
    from datahub.model import Account
    accounts = Account.query.all()
    return render_template('home.html', accounts=accounts)
Esempio n. 3
0
def logged_in():
    return not current_user.is_anonymous()
Esempio n. 4
0
def logged_in():
    return not current_user.is_anonymous()