Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad Call NameLoad Str attr attr Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad Call NameLoad Str attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad Call NameLoad Str attr attr Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad Call NameLoad Str attr attr Expr Call AttributeLoad NameLoad attr ListLoad Str ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad Call NameLoad Str attr attr decorator_list decorator_list
N/A django.contrib.contenttypes.models ContentType django.test TestCase tagging.models Tag TaggedItem Synonym tagging.utils merge get_tag tagging.tests.synonym_tests TestItem TestItemWithCallback with_tag N/A N/A tag cls N/A TestItem N/A N/A N/A N/A N/A TaggedItem objects get_by_model cls N/A tag N/A model_to_ctype N/A N/A model N/A N/A N/A N/A N/A N/A ContentType _default_manager get_for_model model N/A Merge N/A TestCase N/A testMergeTagsDeletesSecondTagIfNoMoreTaggedItems N/A N/A self N/A N/A N/A N/A N/A self assertEqual 0 N/A N/A N/A Tag objects count N/A N/A N/A self assertEqual 0 N/A N/A N/A TaggedItem objects count N/A N/A N/A self assertEqual 0 N/A N/A N/A Synonym objects count N/A first N/A TestItem title first tags one, two N/A N/A N/A first save N/A second N/A TestItem title second tags second N/A N/A N/A second save N/A N/A N/A self assertEqual 1 N/A len N/A with_tag one N/A N/A N/A self assertEqual 1 N/A len N/A with_tag two N/A N/A N/A self assertEqual 1 N/A len N/A with_tag second N/A ctype N/A model_to_ctype TestItem N/A N/A merge two second ctype N/A N/A N/A self assertEqual 1 N/A len N/A with_tag one N/A N/A N/A self assertEqual 2 N/A len N/A with_tag two N/A N/A N/A self assertRaises N/A Tag DoesNotExist N/A N/A Tag objects get name second N/A testMergeTagsNotDeletesSecondTag N/A N/A self N/A N/A N/A N/A N/A self assertEqual 0 N/A N/A N/A Tag objects count N/A N/A N/A self assertEqual 0 N/A N/A N/A TaggedItem objects count N/A N/A N/A self assertEqual 0 N/A N/A N/A Synonym objects count N/A first N/A TestItem title first tags one, two N/A N/A N/A first save N/A second N/A TestItem title second tags second N/A N/A N/A second save N/A third N/A TestItemWithCallback title third tags second N/A N/A N/A third save N/A N/A N/A self assertEqual 1 N/A len N/A with_tag second N/A N/A N/A self assertEqual 1 N/A len N/A with_tag second TestItemWithCallback N/A ctype N/A model_to_ctype TestItem N/A N/A merge two second ctype N/A N/A N/A self assertEqual 0 N/A len N/A with_tag second N/A N/A N/A self assertEqual 1 N/A len N/A with_tag second TestItemWithCallback N/A N/A N/A self assert_ N/A N/A N/A Tag objects get name second N/A testMergeTagsCreatesSynonyms N/A N/A self N/A N/A N/A first N/A TestItem title first tags one, two N/A N/A N/A first save N/A second N/A TestItem title second tags second N/A N/A N/A second save N/A N/A N/A self assertEqual N/A N/A N/A s name N/A s N/A N/A N/A N/A get_tag two synonyms all N/A ctype N/A model_to_ctype TestItem N/A N/A merge two second ctype N/A N/A N/A self assertEqual N/A second N/A N/A s name N/A s N/A N/A N/A N/A get_tag two synonyms all N/A testMergeTagsWhenSynonymAlreadyExists N/A N/A self N/A N/A N/A first N/A TestItem title first tags one, two, blah N/A N/A N/A first save N/A second N/A TestItem title second tags second N/A N/A N/A second save N/A blah N/A get_tag blah N/A N/A N/A N/A blah synonyms create name second N/A N/A N/A self assertEqual N/A N/A N/A s name N/A s N/A N/A N/A N/A get_tag two synonyms all N/A ctype N/A model_to_ctype TestItem N/A N/A merge two second ctype N/A N/A N/A self assertEqual N/A N/A N/A s name N/A s N/A N/A N/A N/A get_tag two synonyms all N/A N/A N/A self assertEqual N/A second N/A N/A s name N/A s N/A N/A N/A N/A get_tag blah synonyms all N/A N/A