Module TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad body ImportFrom alias alias ImportFrom alias ImportFrom alias 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 AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If Call NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr body Return Call NameLoad orelse Return Call NameLoad BinOpMod Str 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 If CompareNotIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BoolOpOr AttributeLoad NameLoad attr CompareGt Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Return Call NameLoad NameLoad 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 FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list
N/A N/A N/A functools update_wrapper wraps N/A N/A N/A ImportError N/A django.utils.functional update_wrapper wraps django.contrib.auth REDIRECT_FIELD_NAME django.http HttpResponseRedirect HttpResponseForbidden django.utils.decorators available_attrs django.utils.http urlquote user_passes_test N/A N/A test_func login_url redirect_field_name N/A None REDIRECT_FIELD_NAME 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 django.conf settings N/A login_url N/A settings LOGIN_URL decorator N/A N/A view_func N/A N/A _wrapped_view N/A N/A self 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 self request args kwargs N/A path N/A urlquote N/A N/A request get_full_path N/A tup N/A login_url redirect_field_name path N/A N/A N/A request is_ajax N/A N/A N/A HttpResponseForbidden N/A N/A N/A HttpResponseRedirect N/A %s?%s=%s tup 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 must_be_member_of_group N/A N/A group_name redirect_field_name login_url N/A None REDIRECT_FIELD_NAME None N/A N/A N/A N/A type group_name N/A list tuple N/A N/A group_name N/A group_name N/A actual_decorator N/A user_passes_test N/A N/A N/A u N/A N/A N/A u is_superuser N/A N/A N/A N/A N/A N/A u groups filter name__in group_name count 0 login_url login_url redirect_field_name redirect_field_name N/A actual_decorator N/A superuser_required N/A N/A function redirect_field_name N/A None REDIRECT_FIELD_NAME N/A N/A actual_decorator N/A user_passes_test N/A N/A N/A u N/A N/A u is_superuser redirect_field_name redirect_field_name N/A function N/A N/A N/A actual_decorator function N/A actual_decorator N/A login_required N/A N/A function redirect_field_name login_url N/A None REDIRECT_FIELD_NAME 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 login_url login_url redirect_field_name redirect_field_name N/A function N/A N/A N/A actual_decorator function N/A actual_decorator N/A permission_required N/A N/A perm login_url N/A None N/A N/A 
    Decorator for views that checks whether a user has a particular permission
    enabled, redirecting to the log-in page if necessary.
     N/A N/A user_passes_test N/A N/A N/A u N/A N/A N/A u has_perm perm login_url login_url N/A