Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad keyword NameLoad
N/A django.test TestCase django.contrib.auth get_user_model django.contrib.auth.models Permission django.contrib.contenttypes.models ContentType django.test.utils override_settings test_app.models TestPost protector.models GenericGlobalPerm N/A TestUser N/A get_user_model AutoMemberTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self test_user N/A N/A N/A TestUser objects create username test1 email test@test.com N/A N/A self test_user2 N/A N/A N/A TestUser objects create username test2 email test2@test.com N/A N/A self test_user3 N/A N/A N/A TestUser objects create username test3 email test3@test.com N/A N/A self post N/A N/A N/A TestPost objects create author N/A self test_user N/A N/A self manage_post_perm N/A N/A N/A Permission objects get content_type__app_label test_app codename manage_post N/A N/A N/A N/A GenericGlobalPerm objects create permission N/A self manage_post_perm roles N/A TestPost AUTHOR content_type N/A N/A N/A ContentType objects get_for_model TestPost N/A test_auto_member_on_create N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self test_user has_perm test_app.manage_post N/A self post N/A test_auto_member_on_update N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A N/A N/A self test_user2 has_perm test_app.manage_post N/A self post N/A N/A N/A N/A N/A N/A TestPost objects filter id N/A N/A self post id update author N/A self test_user2 N/A N/A N/A self assertTrue N/A N/A N/A self test_user2 has_perm test_app.manage_post N/A self post N/A test_auto_member_on_save N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A N/A N/A self test_user3 has_perm test_app.manage_post N/A self post N/A N/A N/A self post author N/A self test_user3 N/A N/A N/A N/A self post save N/A N/A N/A self assertTrue N/A N/A N/A self test_user3 has_perm test_app.manage_post N/A self post N/A N/A N/A override_settings DISABLE_GENERIC_PERMISSION_CACHE True