admin.py 198 Bytes
Newer Older
1 2 3 4
""" Main Controller to run the application with the admin privileges.

"""

LE GAC Renaud's avatar
LE GAC Renaud committed
5
@auth.requires_login()
6 7 8
def index():
    session.role = 'admin'
    return LOAD('plugin_dbui', 'index', vars=request.vars)