Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Assert Call NameLoad NameLoad NameLoad decorator_list TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Num decorator_list Call NameLoad CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list Call NameLoad CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad NameLoad Expr Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num decorator_list Call NameLoad CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Str decorator_list
N/A N/A django django.test TestCase django.http HttpRequest django.core.exceptions PermissionDenied permission.utils.handlers registry permission.decorators.functionbase permission_required f permission.decorators.methodbase permission_required m permission.decorators.classbase permission_required c permission.decorators permission_required p permission.tests.compat skipIf permission.tests.compat MagicMock permission.tests.test_decorators.utils create_mock_handler permission.tests.test_decorators.utils create_mock_request permission.tests.test_decorators.utils create_mock_queryset permission.tests.test_decorators.utils create_mock_model permission.tests.test_decorators.utils create_mock_view_func permission.tests.test_decorators.utils create_mock_view_class N/A p N/A p permission.add_article N/A c N/A c permission.add_article N/A m N/A m permission.add_article N/A f N/A f permission.add_article N/A model N/A create_mock_model N/A instance N/A model view_func N/A N/A request N/A args kwargs N/A N/A N/A isinstance request HttpRequest N/A N/A N/A django.views.generic View BaseView N/A N/A N/A ImportError N/A N/A BaseView object View N/A BaseView N/A dispatch N/A N/A self request N/A args kwargs N/A N/A N/A isinstance self View N/A N/A isinstance request HttpRequest N/A get_object N/A N/A self queryset N/A None N/A N/A instance N/A N/A PermissionDecoratorsTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self handler N/A create_mock_handler N/A N/A self request N/A create_mock_request N/A self handler N/A N/A self queryset N/A create_mock_queryset instance N/A N/A self _original_registry N/A registry _registry N/A N/A registry _registry N/A N/A N/A N/A registry register model N/A self handler N/A tearDown N/A N/A self N/A N/A N/A N/A registry _registry N/A self _original_registry N/A test_function_views N/A N/A self N/A N/A N/A N/A N/A django VERSION N/A 1 3 N/A N/A N/A N/A self assertRaises AttributeError c view_func N/A method_view N/A m view_func N/A N/A method_view N/A self request N/A self queryset object_id 1 N/A function_view N/A f view_func N/A N/A function_view N/A self request N/A self queryset object_id 1 N/A test_method_views N/A N/A self N/A N/A N/A view_method N/A View dispatch N/A N/A N/A self assertRaises AttributeError c N/A View dispatch N/A method_view N/A m N/A View dispatch N/A N/A method_view N/A View N/A self request pk 1 N/A function_view N/A f N/A View dispatch N/A N/A N/A self assertRaises AttributeError function_view N/A View N/A self request pk 1 N/A N/A skipIf N/A N/A django VERSION N/A 1 3 Classbase generic view is not supported in this version test_class_views N/A N/A self N/A N/A N/A class_view N/A c View N/A N/A N/A N/A class_view as_view N/A self request pk 1 N/A method_view N/A m View N/A N/A N/A self assertFalse N/A hasattr method_view as_view N/A function_view N/A f View N/A N/A N/A self assertFalse N/A hasattr method_view as_view N/A N/A skipIf N/A N/A django VERSION N/A 1 3 Classbase generic view is not supported in this version test_permission_required N/A N/A self N/A N/A N/A functional_view N/A p view_func N/A N/A functional_view N/A self request queryset N/A self queryset object_id 1 N/A method_view N/A p N/A View dispatch N/A N/A method_view N/A View N/A self request pk 1 N/A class_view N/A p View N/A N/A N/A N/A class_view as_view N/A self request pk 1 N/A N/A skipIf N/A N/A django VERSION N/A 1 3 Classbase generic view is not supported in this version N/A