Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body ImportFrom alias Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body If Call NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body ImportFrom alias Assign NameStore Dict Str Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad AttributeLoad NameLoad attr Dict Str IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Return Call Call NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If NameLoad body Return Call NameLoad NameLoad Return NameLoad decorator_list
N/A functools wraps django.contrib messages django.utils.decorators available_attrs django.http HttpResponseRedirect user_passes_test N/A N/A test_func login_url message N/A None None N/A N/A 
    Decorator for views that checks that the user passes the given test,
    redirecting to the log-in page if necessary. The test should be a callable
    that takes the user object and returns True if the user passes.
     N/A N/A login_url N/A utils get_login_url N/A login_url N/A get_login_url decorator N/A N/A view_func N/A N/A _wrapped_view N/A N/A request N/A args kwargs N/A N/A N/A test_func N/A request user N/A N/A N/A view_func request args kwargs N/A N/A message None N/A N/A N/A N/A messages info request message fail_silently True N/A response N/A HttpResponseRedirect login_url N/A N/A N/A request method GET N/A helpers save_next_action N/A data N/A action args kwargs method parameters N/A N/A N/A request META get PATH_INFO args kwargs N/A request method N/A POST N/A N/A request POST N/A N/A N/A request POST urlencode None N/A N/A save_next_action request response data N/A response N/A N/A N/A N/A wraps view_func assigned N/A available_attrs view_func _wrapped_view N/A N/A decorator N/A login_required N/A N/A function message login_url N/A None None None N/A N/A 
    Decorator for views that checks that the user is logged in, redirecting
    to the log-in page if necessary.
     N/A actual_decorator N/A user_passes_test N/A N/A N/A u N/A N/A N/A u is_authenticated message message login_url login_url N/A function N/A N/A N/A actual_decorator function N/A actual_decorator N/A