예제 #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)
예제 #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)
예제 #3
0
def logged_in():
    return not current_user.is_anonymous()
예제 #4
0
파일: util.py 프로젝트: pombredanne/datahub
def logged_in():
    return not current_user.is_anonymous()