Module ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list
N/A __future__ with_statement absolute_import django.test TestCase models Reporter Article ManyToOneNullTests N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self r N/A Reporter name John Smith N/A N/A N/A N/A self r save N/A N/A self a N/A Article headline First reporter N/A self r N/A N/A N/A N/A self a save N/A N/A self a2 N/A N/A N/A N/A self r article_set create headline Second N/A N/A self a3 N/A Article headline Third reporter None N/A N/A N/A N/A self a3 save N/A N/A self r2 N/A Reporter name Paul Jones N/A N/A N/A N/A self r2 save N/A N/A self a4 N/A N/A N/A N/A self r2 article_set create headline Fourth N/A test_get_related N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self a reporter id N/A N/A self r id N/A r N/A N/A self a reporter N/A N/A N/A self assertEqual N/A r id N/A N/A self r id N/A test_created_via_related_set N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self a2 reporter id N/A N/A self r id N/A test_related_set N/A N/A self N/A N/A N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r article_set all N/A <Article: First> <Article: Second> N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r article_set filter headline__startswith Fir N/A <Article: First> N/A N/A N/A self assertEqual N/A N/A N/A N/A self r article_set count 2 N/A test_created_without_related N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self a3 reporter None N/A a3 N/A N/A N/A Article objects get pk N/A N/A self a3 pk N/A N/A N/A self assertRaises AttributeError getattr N/A a3 reporter id N/A N/A N/A self assertEqual N/A a3 reporter None N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Article objects filter reporter__isnull True N/A <Article: Third> N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Article objects filter reporter None N/A <Article: Third> N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r article_set all N/A <Article: First> <Article: Second> N/A N/A N/A N/A N/A self r article_set add a3 N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r article_set all N/A <Article: First> <Article: Second> <Article: Third> N/A N/A N/A N/A N/A self r article_set remove a3 N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r article_set all N/A <Article: First> <Article: Second> N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Article objects filter reporter__isnull True N/A <Article: Third> N/A test_remove_from_wrong_set N/A N/A self N/A N/A N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r2 article_set all N/A <Article: Fourth> N/A N/A N/A self assertRaises N/A Reporter DoesNotExist N/A N/A N/A self r article_set remove N/A self a4 N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r2 article_set all N/A <Article: Fourth> N/A test_assign_clear_related_set N/A N/A self N/A N/A N/A N/A N/A self r2 article_set N/A N/A self a2 N/A self a3 N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r2 article_set all N/A <Article: Second> <Article: Third> N/A N/A N/A N/A N/A self r article_set clear N/A N/A N/A self assertQuerysetEqual N/A N/A N/A N/A self r article_set all N/A N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Article objects filter reporter__isnull True N/A <Article: First> <Article: Fourth> N/A test_clear_efficiency N/A N/A self N/A N/A N/A r N/A N/A N/A Reporter objects create N/A _ N/A xrange 3 N/A N/A N/A N/A N/A r article_set create N/A N/A N/A self assertNumQueries 1 N/A N/A N/A N/A N/A r article_set clear N/A N/A N/A self assertEqual N/A N/A N/A r article_set count 0 N/A N/A