Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str 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 Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad BoolOpOr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad NameLoad Slice Num Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad NameLoad Slice Num If BoolOpAnd BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad NameLoad BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ImportFrom alias Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad keyword Call NameLoad NameLoad Return 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 FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad If NameLoad body Raise NameLoad Return NameLoad decorator_list Return Call NameLoad NameLoad keyword NameLoad decorator_list
N/A functools wraps django.conf settings django.contrib.auth REDIRECT_FIELD_NAME django.core.exceptions PermissionDenied django.utils.decorators available_attrs django.utils.encoding force_str django.utils.six.moves.urllib.parse urlparse django.shortcuts resolve_url 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.
     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 path N/A N/A request build_absolute_uri N/A resolved_login_url N/A force_str N/A resolve_url N/A login_url N/A settings LOGIN_URL N/A N/A login_scheme login_netloc N/A N/A urlparse resolved_login_url N/A 2 N/A N/A current_scheme current_netloc N/A N/A urlparse path N/A 2 N/A N/A N/A N/A login_scheme N/A login_scheme current_scheme N/A N/A login_netloc N/A login_netloc current_netloc N/A N/A path N/A N/A request get_full_path django.contrib.auth.views redirect_to_login N/A N/A redirect_to_login path resolved_login_url redirect_field_name N/A N/A wraps view_func assigned N/A available_attrs view_func N/A _wrapped_view N/A N/A 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 raise_exception N/A None False N/A N/A 
    Decorator for views that checks whether a user has a particular permission
    enabled, redirecting to the log-in page if neccesary.
    If the raise_exception parameter is given the PermissionDenied exception
    is raised.
     check_perms N/A N/A user N/A N/A N/A N/A N/A user has_perm perm N/A N/A True N/A raise_exception N/A N/A PermissionDenied N/A False N/A N/A N/A user_passes_test check_perms login_url login_url N/A