Module TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad Str Str Assign NameStore Dict Str Str Str Str NameLoad Dict Str Str NameLoad Call NameLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list Return Call Call NameLoad NameLoad NameLoad decorator_list
N/A N/A N/A functools wraps N/A N/A N/A ImportError N/A django.utils.functional wraps django.utils.translation ugettext _ django.contrib.admin.forms AdminAuthenticationForm django.contrib.auth.views login django.contrib.auth REDIRECT_FIELD_NAME staff_member_required N/A N/A view_func N/A N/A N/A 
    Decorator for views that checks that the user is logged in and is a staff
    member, displaying the login page if necessary.
     _checklogin N/A N/A request N/A args kwargs N/A N/A N/A N/A N/A request user is_active N/A N/A request user is_staff N/A N/A N/A view_func request args kwargs N/A N/A hasattr request session The Django admin requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.sessions.middleware.SessionMiddleware'. N/A defaults N/A template_name authentication_form extra_context admin/login.html AdminAuthenticationForm N/A title app_path REDIRECT_FIELD_NAME N/A _ Log in N/A N/A request get_full_path N/A N/A request get_full_path N/A N/A login request defaults N/A N/A N/A N/A wraps view_func _checklogin N/A