Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListComp SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad Str attr NameLoad keyword NameLoad Index Num comprehension NameStore TupleLoad Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Dict Str Str Str Str keyword Num keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad Str Str body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Dict Str Str Str Str keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad Str Str body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Dict Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Dict Str Str Str Str keyword Num keyword Num decorator_list decorator_list
N/A N/A Tests for Core app django.contrib.auth.models User Permission django.contrib.contenttypes.models ContentType django.core.urlresolvers reverse django.test TestCase django.test Client djangocrud.tests.models Foo CoreTests N/A TestCase N/A N/A Core CRUD tests setUp N/A N/A self N/A kwargs N/A N/A Test Setup N/A N/A self client N/A Client N/A user N/A N/A N/A User objects create_user john_doe john@company.com 12345 N/A N/A self foo N/A N/A N/A Foo objects create bar Sample baz CR qux Not Available N/A content_type N/A N/A N/A ContentType objects get_for_model Foo N/A permissions N/A N/A N/A N/A N/A Permission objects get_or_create codename N/A N/A {}_foo format permission content_type content_type N/A 0 N/A permission N/A view delete change add N/A N/A N/A N/A user user_permissions set permissions N/A N/A N/A N/A self client login username john_doe password 12345 N/A test_index N/A N/A self N/A N/A N/A Test main view that lists all models N/A response N/A N/A N/A self client get N/A reverse main N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_detail_view N/A N/A self N/A N/A N/A Tests for detail view N/A response N/A N/A N/A self client get N/A reverse detail kwargs N/A app_name model_name pk tests Foo N/A N/A self foo id N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response CR N/A test_list_view N/A N/A self N/A N/A N/A Tests for list view N/A response N/A N/A N/A self client get N/A reverse index kwargs N/A app_name model_name tests Foo N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertQuerysetEqual N/A N/A response context N/A objects N/A N/A repr N/A self foo N/A test_delete_view N/A N/A self N/A N/A N/A Tests for delete view N/A response N/A N/A N/A self client post N/A reverse delete kwargs N/A app_name model_name pk tests Foo N/A N/A self foo id N/A N/A N/A self assertRedirects response N/A reverse index kwargs N/A app_name model_name tests Foo status_code 302 target_status_code 200 N/A count N/A N/A N/A N/A N/A Foo objects filter id N/A N/A self foo id count N/A N/A N/A self assertEqual count 0 N/A test_create_view N/A N/A self N/A N/A N/A Tests for create view N/A verb N/A get post N/A N/A response N/A N/A getattr N/A self client verb N/A reverse create kwargs N/A app_name model_name tests Foo N/A N/A N/A self assertEqual N/A N/A N/A N/A response context N/A form _meta model Foo N/A response N/A N/A N/A self client post N/A reverse create kwargs N/A app_name model_name tests Foo N/A bar baz qux example - small e WL Nothing N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self client post N/A reverse create kwargs N/A app_name model_name tests Foo N/A bar baz qux Example - big E WL Nothing N/A N/A N/A self assertRedirects response N/A reverse index kwargs N/A app_name model_name tests Foo status_code 302 target_status_code 200 N/A test_udpate_view N/A N/A self N/A N/A N/A Tests for update view N/A verb N/A get post N/A N/A response N/A N/A getattr N/A self client verb N/A reverse update kwargs N/A app_name model_name pk tests Foo N/A N/A self foo id N/A N/A N/A self assertEqual N/A N/A N/A N/A response context N/A form _meta model Foo N/A response N/A N/A N/A self client post N/A reverse update kwargs N/A app_name model_name pk tests Foo N/A N/A self foo id N/A bar baz qux Example WL Nothing N/A N/A N/A self assertRedirects response N/A reverse index kwargs N/A app_name model_name tests Foo status_code 302 target_status_code 200 N/A N/A