Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body ClassDef bases body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body ClassDef bases body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr ListComp ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad Str comprehension NameStore NameLoad Call NameLoad NameLoad Str ListLoad ListLoad Str Str Str Str ListLoad Str Str Str Str Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr ListComp ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad Str comprehension NameStore NameLoad Call NameLoad NameLoad Str ListLoad ListLoad Str Str Str Str ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Dict Str Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list
N/A django.contrib.auth.models User django.http HttpRequest django.test TestCase tastypie.api Api tastypie.exceptions NotRegistered BadRequest tastypie.resources Resource ModelResource core.models Note NoteResource N/A ModelResource N/A Meta N/A N/A N/A resource_name notes N/A queryset N/A N/A N/A Note objects filter is_active True N/A N/A UserResource N/A ModelResource N/A Meta N/A N/A N/A resource_name users N/A queryset N/A N/A N/A User objects all N/A N/A ApiTestCase N/A TestCase N/A N/A urls core.tests.api_urls test_register N/A N/A self N/A N/A N/A api N/A Api N/A N/A N/A self assertEqual N/A len N/A api _registry 0 N/A N/A N/A api register N/A NoteResource N/A N/A N/A self assertEqual N/A len N/A api _registry 1 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes N/A N/A N/A api register N/A UserResource N/A N/A N/A self assertEqual N/A len N/A api _registry 2 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A api register N/A UserResource N/A N/A N/A self assertEqual N/A len N/A api _registry 2 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A self assertEqual N/A len N/A api _canonicals 2 N/A N/A N/A api register N/A UserResource canonical False N/A N/A N/A self assertEqual N/A len N/A api _registry 2 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A self assertEqual N/A len N/A api _canonicals 2 N/A test_global_registry N/A N/A self N/A N/A N/A api N/A Api N/A N/A N/A self assertEqual N/A len N/A api _registry 0 N/A N/A N/A api register N/A NoteResource N/A N/A N/A self assertEqual N/A len N/A api _registry 1 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes N/A N/A N/A api register N/A UserResource N/A N/A N/A self assertEqual N/A len N/A api _registry 2 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A api register N/A UserResource N/A N/A N/A self assertEqual N/A len N/A api _registry 2 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A self assertEqual N/A len N/A api _canonicals 2 N/A N/A N/A api register N/A UserResource canonical False N/A N/A N/A self assertEqual N/A len N/A api _registry 2 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A self assertEqual N/A len N/A api _canonicals 2 N/A test_unregister N/A N/A self N/A N/A N/A api N/A Api N/A N/A N/A api register N/A NoteResource N/A N/A N/A api register N/A UserResource canonical False N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes users N/A N/A N/A self assertEqual N/A len N/A api _canonicals 1 N/A N/A N/A api unregister users N/A N/A N/A self assertEqual N/A len N/A api _registry 1 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A notes N/A N/A N/A self assertEqual N/A len N/A api _canonicals 1 N/A N/A N/A api unregister notes N/A N/A N/A self assertEqual N/A len N/A api _registry 0 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A N/A N/A N/A api unregister users N/A N/A N/A self assertEqual N/A len N/A api _registry 0 N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A api _registry keys N/A N/A test_canonical_resource_for N/A N/A self N/A N/A N/A api N/A Api N/A note_resource N/A NoteResource N/A user_resource N/A UserResource N/A N/A N/A api register note_resource N/A N/A N/A api register user_resource N/A N/A N/A self assertEqual N/A len N/A api _canonicals 2 N/A N/A N/A self assertEqual N/A isinstance N/A N/A api canonical_resource_for notes NoteResource True N/A api_2 N/A Api N/A N/A N/A api unregister N/A N/A user_resource _meta resource_name N/A N/A N/A self assertRaises NotRegistered N/A api canonical_resource_for users N/A test_urls N/A N/A self N/A N/A N/A api N/A Api N/A N/A N/A api register N/A NoteResource N/A N/A N/A api register N/A UserResource N/A patterns N/A api urls N/A N/A N/A self assertEqual N/A len patterns 3 N/A N/A N/A self assertEqual N/A sorted N/A N/A pattern name N/A pattern patterns N/A hasattr pattern name N/A api_v1_top_level N/A N/A N/A self assertEqual N/A N/A N/A pattern name N/A pattern N/A include url_patterns N/A hasattr pattern name N/A include patterns N/A hasattr include reverse_dict N/A N/A api_dispatch_list api_get_schema api_get_multiple api_dispatch_detail N/A api_dispatch_list api_get_schema api_get_multiple api_dispatch_detail N/A api N/A Api api_name v2 N/A N/A N/A api register N/A NoteResource N/A N/A N/A api register N/A UserResource N/A patterns N/A api urls N/A N/A N/A self assertEqual N/A len patterns 3 N/A N/A N/A self assertEqual N/A sorted N/A N/A pattern name N/A pattern patterns N/A hasattr pattern name N/A api_v2_top_level N/A N/A N/A self assertEqual N/A N/A N/A pattern name N/A pattern N/A include url_patterns N/A hasattr pattern name N/A include patterns N/A hasattr include reverse_dict N/A N/A api_dispatch_list api_get_schema api_get_multiple api_dispatch_detail N/A api_dispatch_list api_get_schema api_get_multiple api_dispatch_detail N/A test_top_level N/A N/A self N/A N/A N/A api N/A Api N/A N/A N/A api register N/A NoteResource N/A N/A N/A api register N/A UserResource N/A request N/A HttpRequest N/A resp N/A N/A api top_level request N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertEqual N/A resp content {"notes": {"list_endpoint": "/api/v1/notes/", "schema": "/api/v1/notes/schema/"}, "users": {"list_endpoint": "/api/v1/users/", "schema": "/api/v1/users/schema/"}} N/A test_top_level_jsonp N/A N/A self N/A N/A N/A api N/A Api N/A N/A N/A api register N/A NoteResource N/A N/A N/A api register N/A UserResource N/A request N/A HttpRequest N/A N/A request META N/A HTTP_ACCEPT text/javascript N/A N/A request GET N/A callback foo N/A resp N/A N/A api top_level request N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A N/A resp N/A content-type split ; N/A 0 text/javascript N/A N/A N/A self assertEqual N/A resp content foo({"notes": {"list_endpoint": "/api/v1/notes/", "schema": "/api/v1/notes/schema/"}, "users": {"list_endpoint": "/api/v1/users/", "schema": "/api/v1/users/schema/"}}) N/A request N/A HttpRequest N/A N/A request META N/A HTTP_ACCEPT text/javascript N/A N/A request GET N/A callback N/A N/A N/A resp N/A N/A api top_level request N/A N/A N/A self fail Broken callback didn't fail! N/A N/A N/A BadRequest N/A N/A N/A N/A