Module ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body ClassDef bases NameLoad NameLoad body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryFinally body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list With Call AttributeLoad NameLoad attr NameLoad body ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list finalbody Delete AttributeDel NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Assign NameStore ListLoad Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword NameLoad keyword NameLoad keyword SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A copy django.conf settings django.contrib.contenttypes.models ContentType django.core management django.core.exceptions FieldError django.db models DEFAULT_DB_ALIAS django.db.models signals django.db.models.loading cache django.test TestCase models MyPerson Person StatusPerson LowerStatusPerson MyPersonProxy Abstract OtherPerson User UserProxy UserProxyProxy Country State StateProxy TrackerUser BaseUser Bug ProxyTrackerUser Improvement ProxyProxyBug ProxyBug ProxyImprovement ProxyModelTests N/A TestCase N/A test_same_manager_queries N/A N/A self N/A N/A N/A 
        The MyPerson model should be generating the same database queries as
        the Person model (when the same manager is used in each case).
         N/A my_person_sql N/A N/A N/A N/A N/A N/A N/A N/A MyPerson other all query get_compiler DEFAULT_DB_ALIAS as_sql N/A person_sql N/A N/A N/A N/A N/A N/A N/A N/A Person objects order_by name query get_compiler DEFAULT_DB_ALIAS as_sql N/A N/A N/A self assertEqual my_person_sql person_sql N/A test_inheretance_new_table N/A N/A self N/A N/A N/A 
        The StatusPerson models should have its own table (it's using ORM-level
        inheritance).
         N/A sp_sql N/A N/A N/A N/A N/A N/A N/A N/A StatusPerson objects all query get_compiler DEFAULT_DB_ALIAS as_sql N/A p_sql N/A N/A N/A N/A N/A N/A N/A N/A Person objects all query get_compiler DEFAULT_DB_ALIAS as_sql N/A N/A N/A self assertNotEqual sp_sql p_sql N/A test_basic_proxy N/A N/A self N/A N/A N/A 
        Creating a Person makes them accessible through the MyPerson proxy.
         N/A person N/A N/A N/A Person objects create name Foo McBar N/A N/A N/A self assertEqual N/A len N/A N/A N/A Person objects all 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A MyPerson objects all 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A MyPerson objects get name Foo McBar id N/A person id N/A N/A N/A self assertFalse N/A N/A N/A N/A N/A MyPerson objects get id N/A person id has_special_name N/A test_no_proxy N/A N/A self N/A N/A N/A 
        Person is not proxied by StatusPerson subclass.
         N/A N/A N/A N/A Person objects create name Foo McBar N/A N/A N/A self assertEqual N/A list N/A N/A N/A StatusPerson objects all N/A N/A test_basic_proxy_reverse N/A N/A self N/A N/A N/A 
        A new MyPerson also shows up as a standard Person.
         N/A N/A N/A N/A MyPerson objects create name Bazza del Frob N/A N/A N/A self assertEqual N/A len N/A N/A N/A MyPerson objects all 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A Person objects all 1 N/A N/A N/A N/A LowerStatusPerson objects create status low name homer N/A lsps N/A N/A lsp name N/A lsp N/A N/A N/A LowerStatusPerson objects all N/A N/A N/A self assertEqual lsps N/A homer N/A test_correct_type_proxy_of_proxy N/A N/A self N/A N/A N/A 
        Correct type when querying a proxy of proxy
         N/A N/A N/A N/A Person objects create name Foo McBar N/A N/A N/A N/A MyPerson objects create name Bazza del Frob N/A N/A N/A N/A LowerStatusPerson objects create status low name homer N/A pp N/A sorted N/A N/A mpp name N/A mpp N/A N/A N/A MyPersonProxy objects all N/A N/A N/A self assertEqual pp N/A Bazza del Frob Foo McBar homer N/A test_proxy_included_in_ancestors N/A N/A self N/A N/A N/A 
        Proxy models are included in the ancestors for a model's DoesNotExist
        and MultipleObjectsReturned
         N/A N/A N/A N/A Person objects create name Foo McBar N/A N/A N/A N/A MyPerson objects create name Bazza del Frob N/A N/A N/A N/A LowerStatusPerson objects create status low name homer N/A max_id N/A N/A N/A N/A Person objects aggregate max_id N/A N/A models Max id N/A max_id N/A N/A N/A self assertRaises N/A Person DoesNotExist N/A N/A MyPersonProxy objects get name Zathras N/A N/A N/A self assertRaises N/A Person MultipleObjectsReturned N/A N/A MyPersonProxy objects get id__lt N/A max_id 1 N/A N/A N/A self assertRaises N/A Person DoesNotExist N/A N/A StatusPerson objects get name Zathras N/A sp1 N/A N/A N/A StatusPerson objects create name Bazza Jr. N/A sp2 N/A N/A N/A StatusPerson objects create name Foo Jr. N/A max_id N/A N/A N/A N/A Person objects aggregate max_id N/A N/A models Max id N/A max_id N/A N/A N/A self assertRaises N/A Person MultipleObjectsReturned N/A N/A StatusPerson objects get id__lt N/A max_id 1 N/A test_abc N/A N/A self N/A N/A N/A 
        All base classes must be non-abstract
         build_abc N/A N/A N/A N/A NoAbstract N/A Abstract N/A Meta N/A N/A N/A proxy True N/A N/A N/A N/A N/A N/A self assertRaises TypeError build_abc N/A test_no_cbc N/A N/A self N/A N/A N/A 
        The proxy must actually have one concrete base class
         build_no_cbc N/A N/A N/A N/A TooManyBases N/A Person Abstract N/A Meta N/A N/A N/A proxy True N/A N/A N/A N/A N/A N/A self assertRaises TypeError build_no_cbc N/A test_no_base_classes N/A N/A self N/A N/A build_no_base_classes N/A N/A N/A N/A NoBaseClasses N/A N/A models Model N/A Meta N/A N/A N/A proxy True N/A N/A N/A N/A N/A N/A self assertRaises TypeError build_no_base_classes N/A test_new_fields N/A N/A self N/A N/A build_new_fields N/A N/A N/A N/A NoNewFields N/A Person N/A N/A newfield N/A N/A models BooleanField Meta N/A N/A N/A proxy True N/A N/A N/A N/A N/A N/A self assertRaises FieldError build_new_fields N/A test_swappable N/A N/A self N/A N/A N/A N/A N/A old_app_models N/A N/A copy deepcopy N/A cache app_models N/A old_app_store N/A N/A copy deepcopy N/A cache app_store N/A N/A settings TEST_SWAPPABLE_MODEL proxy_models.AlternateModel SwappableModel N/A N/A models Model N/A Meta N/A N/A N/A swappable TEST_SWAPPABLE_MODEL N/A N/A AlternateModel N/A N/A models Model N/A N/A N/A N/A N/A N/A self assertRaises TypeError N/A ProxyModel N/A SwappableModel N/A Meta N/A N/A N/A proxy True N/A N/A N/A N/A N/A settings TEST_SWAPPABLE_MODEL N/A N/A cache app_models old_app_models N/A N/A cache app_store old_app_store N/A test_myperson_manager N/A N/A self N/A N/A N/A N/A N/A N/A Person objects create name fred N/A N/A N/A N/A Person objects create name wilma N/A N/A N/A N/A Person objects create name barney N/A resp N/A N/A p name N/A p N/A N/A N/A MyPerson objects all N/A N/A N/A self assertEqual resp N/A barney fred N/A resp N/A N/A p name N/A p N/A N/A N/A MyPerson _default_manager all N/A N/A N/A self assertEqual resp N/A barney fred N/A test_otherperson_manager N/A N/A self N/A N/A N/A N/A N/A N/A Person objects create name fred N/A N/A N/A N/A Person objects create name wilma N/A N/A N/A N/A Person objects create name barney N/A resp N/A N/A p name N/A p N/A N/A N/A OtherPerson objects all N/A N/A N/A self assertEqual resp N/A barney wilma N/A resp N/A N/A p name N/A p N/A N/A N/A OtherPerson excluder all N/A N/A N/A self assertEqual resp N/A barney fred N/A resp N/A N/A p name N/A p N/A N/A N/A OtherPerson _default_manager all N/A N/A N/A self assertEqual resp N/A barney wilma N/A test_permissions_created N/A N/A self N/A N/A django.contrib.auth.models Permission N/A N/A N/A N/A N/A N/A Permission objects get name May display users information N/A N/A N/A N/A Permission DoesNotExist N/A N/A N/A N/A self fail The permission 'May display users information' has not been created N/A test_proxy_model_signals N/A N/A self N/A N/A N/A 
        Test save signals for proxy models
         N/A output N/A make_handler N/A N/A model event N/A N/A _handler N/A N/A N/A args kwargs N/A N/A N/A N/A output append N/A %s %s save N/A model event N/A N/A _handler N/A N/A h1 N/A make_handler MyPerson pre N/A h2 N/A make_handler MyPerson post N/A h3 N/A make_handler Person pre N/A h4 N/A make_handler Person post N/A N/A N/A N/A signals pre_save connect h1 sender MyPerson N/A N/A N/A N/A signals post_save connect h2 sender MyPerson N/A N/A N/A N/A signals pre_save connect h3 sender Person N/A N/A N/A N/A signals post_save connect h4 sender Person N/A dino N/A N/A N/A MyPerson objects create name dino N/A N/A N/A self assertEqual output N/A MyPerson pre save MyPerson post save N/A output N/A N/A h5 N/A make_handler MyPersonProxy pre N/A h6 N/A make_handler MyPersonProxy post N/A N/A N/A N/A signals pre_save connect h5 sender MyPersonProxy N/A N/A N/A N/A signals post_save connect h6 sender MyPersonProxy N/A dino N/A N/A N/A MyPersonProxy objects create name pebbles N/A N/A N/A self assertEqual output N/A MyPersonProxy pre save MyPersonProxy post save N/A N/A N/A N/A signals pre_save disconnect h1 sender MyPerson N/A N/A N/A N/A signals post_save disconnect h2 sender MyPerson N/A N/A N/A N/A signals pre_save disconnect h3 sender Person N/A N/A N/A N/A signals post_save disconnect h4 sender Person N/A N/A N/A N/A signals pre_save disconnect h5 sender MyPersonProxy N/A N/A N/A N/A signals post_save disconnect h6 sender MyPersonProxy N/A test_content_type N/A N/A self N/A N/A N/A ctype N/A N/A ContentType objects get_for_model N/A N/A N/A self assertTrue N/A N/A ctype Person N/A ctype OtherPerson N/A test_user_userproxy_userproxyproxy N/A N/A self N/A N/A N/A N/A N/A N/A User objects create name Bruce N/A resp N/A N/A u name N/A u N/A N/A N/A User objects all N/A N/A N/A self assertEqual resp N/A Bruce N/A resp N/A N/A u name N/A u N/A N/A N/A UserProxy objects all N/A N/A N/A self assertEqual resp N/A Bruce N/A resp N/A N/A u name N/A u N/A N/A N/A UserProxyProxy objects all N/A N/A N/A self assertEqual resp N/A Bruce N/A test_proxy_for_model N/A N/A self N/A N/A N/A N/A N/A self assertEqual UserProxy N/A N/A UserProxyProxy _meta proxy_for_model N/A test_concrete_model N/A N/A self N/A N/A N/A N/A N/A self assertEqual User N/A N/A UserProxyProxy _meta concrete_model N/A test_proxy_delete N/A N/A self N/A N/A N/A 
        Proxy objects can be deleted
         N/A N/A N/A N/A User objects create name Bruce N/A u2 N/A N/A N/A UserProxy objects create name George N/A resp N/A N/A u name N/A u N/A N/A N/A UserProxy objects all N/A N/A N/A self assertEqual resp N/A Bruce George N/A N/A N/A u2 delete N/A resp N/A N/A u name N/A u N/A N/A N/A UserProxy objects all N/A N/A N/A self assertEqual resp N/A Bruce N/A test_select_related N/A N/A self N/A N/A N/A 
        We can still use `select_related()` to include related models in our
        querysets.
         N/A country N/A N/A N/A Country objects create name Australia N/A state N/A N/A N/A State objects create name New South Wales country country N/A resp N/A N/A s name N/A s N/A N/A N/A State objects select_related N/A N/A N/A self assertEqual resp N/A New South Wales N/A resp N/A N/A s name N/A s N/A N/A N/A StateProxy objects select_related N/A N/A N/A self assertEqual resp N/A New South Wales N/A N/A N/A self assertEqual N/A N/A N/A N/A StateProxy objects get name New South Wales name New South Wales N/A resp N/A N/A N/A N/A N/A StateProxy objects select_related get name New South Wales N/A N/A N/A self assertEqual N/A resp name New South Wales N/A test_proxy_bug N/A N/A self N/A N/A N/A contributor N/A N/A N/A TrackerUser objects create name Contributor status contrib N/A someone N/A N/A N/A BaseUser objects create name Someone N/A N/A N/A N/A Bug objects create summary fix this version 1.1beta assignee contributor reporter someone N/A pcontributor N/A N/A N/A ProxyTrackerUser objects create name OtherContributor status proxy N/A N/A N/A N/A Improvement objects create summary improve that version 1.1beta assignee contributor reporter pcontributor associated_bug N/A N/A N/A N/A ProxyProxyBug objects all N/A 0 N/A resp N/A N/A N/A ProxyBug objects get version__icontains beta N/A N/A N/A self assertEqual N/A repr resp <ProxyBug: ProxyBug:fix this> N/A resp N/A N/A N/A N/A N/A ProxyBug objects select_related get version__icontains beta N/A N/A N/A self assertEqual N/A repr resp <ProxyBug: ProxyBug:fix this> N/A resp N/A N/A N/A N/A N/A ProxyProxyBug objects select_related get version__icontains beta N/A N/A N/A self assertEqual N/A repr resp <ProxyProxyBug: ProxyProxyBug:fix this> N/A resp N/A N/A N/A N/A N/A ProxyImprovement objects select_related get reporter__name__icontains butor N/A N/A N/A self assertEqual N/A repr resp <ProxyImprovement: ProxyImprovement:improve that> N/A resp N/A N/A N/A N/A N/A ProxyImprovement objects select_related get associated_bug__summary__icontains fix N/A N/A N/A self assertEqual N/A repr resp <ProxyImprovement: ProxyImprovement:improve that> N/A test_proxy_load_from_fixture N/A N/A self N/A N/A N/A N/A N/A management call_command loaddata mypeople.json verbosity 0 commit False N/A p N/A N/A N/A MyPerson objects get pk 100 N/A N/A N/A self assertEqual N/A p name Elvis Presley N/A N/A