Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Dict BinOpMod Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr CompareIs NameLoad NameLoad BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list For NameStore NameLoad body Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareGt Call NameLoad NameLoad Num body Expr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr CompareIs NameLoad NameLoad BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list For NameStore NameLoad body Assign SubscriptStore NameLoad Slice ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad decorator_list decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Str attr keyword BinOpAdd BinOpAdd AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Return NameLoad decorator_list decorator_list
N/A __future__ unicode_literals N/A django django.core checks django.db IntegrityError router django.db.models.fields.related ForeignKey django.utils.functional cached_property N/A N/A django.db.models.fields.related ReverseManyToOneDescriptor N/A N/A N/A ImportError N/A django.db.models.fields.related ForeignRelatedObjectsDescriptor ReverseManyToOneDescriptor modelcluster.utils sort_by_fields modelcluster.queryset FakeQuerySet modelcluster.models ClusterableModel create_deferring_foreign_related_manager N/A N/A related original_manager_cls N/A N/A N/A 
    Create a DeferringRelatedManager class that wraps an ordinary RelatedManager
    with 'deferring' behaviour: any updates to the object set (via e.g. add() or clear())
    are written to a holding area rather than committed to the database immediately.
    Writing to the database is deferred until the model is saved.
     N/A relation_name N/A N/A related get_accessor_name N/A rel_field N/A related field N/A rel_model N/A related related_model N/A superclass N/A N/A rel_model _default_manager __class__ DeferringRelatedManager N/A superclass N/A __init__ N/A N/A self instance N/A N/A N/A N/A N/A N/A super DeferringRelatedManager self __init__ N/A N/A self model rel_model N/A N/A self instance instance N/A get_live_query_set N/A N/A self N/A N/A N/A N/A N/A self get_live_queryset N/A get_live_queryset N/A N/A self N/A N/A N/A 
            return the original manager's queryset, which reflects the live database
             N/A N/A N/A N/A original_manager_cls N/A self instance get_queryset N/A get_queryset N/A N/A self N/A N/A N/A 
            return the current object set with any updates applied,
            wrapped up in a FakeQuerySet if it doesn't match the database state
             N/A N/A N/A results N/A N/A N/A self instance _cluster_related_objects N/A relation_name N/A N/A N/A N/A AttributeError KeyError N/A N/A N/A N/A self get_live_queryset N/A N/A FakeQuerySet N/A related related_model results N/A get_prefetch_queryset N/A N/A self instances queryset N/A None N/A N/A N/A queryset None N/A N/A db N/A N/A self _db N/A N/A router db_for_read N/A self model instance N/A instances N/A 0 N/A queryset N/A N/A N/A N/A N/A super DeferringRelatedManager self get_queryset using db N/A rel_obj_attr N/A rel_field get_local_related_value N/A instance_attr N/A rel_field get_foreign_related_value N/A instances_dict N/A dict N/A N/A N/A instance_attr inst inst N/A inst instances N/A query N/A N/A %s__in N/A rel_field name instances N/A qs N/A N/A queryset filter query N/A rel_obj qs N/A N/A instance N/A instances_dict N/A N/A rel_obj_attr rel_obj N/A N/A setattr rel_obj N/A rel_field name instance N/A cache_name N/A N/A rel_field related_query_name N/A N/A qs rel_obj_attr instance_attr False cache_name N/A get_object_list N/A N/A self N/A N/A N/A 
            return the mutable list that forms the current in-memory state of
            this relation. If there is no such list (i.e. the manager is returning
            querysets from the live database instead), one is created, populating it
            with the live database state
             N/A N/A N/A cluster_related_objects N/A N/A self instance _cluster_related_objects N/A N/A N/A AttributeError N/A N/A cluster_related_objects N/A N/A N/A N/A self instance _cluster_related_objects cluster_related_objects N/A N/A N/A object_list N/A cluster_related_objects N/A relation_name N/A N/A N/A KeyError N/A N/A object_list N/A list N/A N/A self get_live_queryset N/A N/A cluster_related_objects N/A relation_name object_list N/A object_list N/A add N/A N/A self N/A new_items N/A N/A 
            Add the passed items to the stored object set, but do not commit them
            to the database
             N/A items N/A N/A self get_object_list items_match N/A N/A item target N/A N/A N/A N/A N/A item target N/A N/A N/A item pk N/A target pk N/A N/A item pk None N/A N/A target new_items N/A N/A item_matched False N/A N/A i item N/A enumerate items N/A N/A N/A items_match item target N/A N/A N/A items N/A i target N/A item_matched True N/A N/A N/A item_matched N/A N/A N/A N/A items append target N/A N/A setattr target N/A N/A related field name N/A self instance N/A N/A N/A N/A rel_model _meta ordering N/A N/A len items 1 N/A N/A N/A sort_by_fields items N/A N/A rel_model _meta ordering N/A remove N/A N/A self N/A items_to_remove N/A N/A 
            Remove the passed items from the stored object set, but do not commit the change
            to the database
             N/A items N/A N/A self get_object_list items_match N/A N/A item target N/A N/A N/A N/A N/A item target N/A N/A N/A item pk N/A target pk N/A N/A item pk None N/A N/A target items_to_remove N/A N/A N/A items N/A N/A item N/A item items N/A N/A items_match item target N/A create N/A N/A self N/A kwargs N/A N/A items N/A N/A self get_object_list N/A new_item N/A N/A related related_model kwargs N/A N/A N/A items append new_item N/A new_item N/A clear N/A N/A self N/A N/A N/A 
            Clear the stored object set, without affecting the database
             N/A N/A N/A cluster_related_objects N/A N/A self instance _cluster_related_objects N/A N/A N/A AttributeError N/A N/A cluster_related_objects N/A N/A N/A N/A self instance _cluster_related_objects cluster_related_objects N/A N/A cluster_related_objects N/A relation_name N/A N/A commit N/A N/A self N/A N/A N/A 
            Apply any changes made to the stored object set to the database.
            Any objects removed from the initial set will be deleted entirely
            from the database.
             N/A N/A N/A N/A self instance pk N/A N/A N/A IntegrityError N/A Cannot commit relation %r on an unsaved model relation_name N/A N/A N/A final_items N/A N/A N/A self instance _cluster_related_objects N/A relation_name N/A N/A N/A N/A AttributeError KeyError N/A N/A N/A original_manager N/A original_manager_cls N/A self instance N/A live_items N/A list N/A N/A original_manager get_queryset N/A item live_items N/A N/A N/A item final_items N/A N/A N/A N/A item delete N/A item final_items N/A N/A N/A N/A django VERSION N/A 1 9 N/A N/A N/A N/A original_manager add item bulk False N/A N/A N/A N/A original_manager add item N/A N/A N/A N/A self instance _cluster_related_objects N/A relation_name N/A N/A N/A DeferringRelatedManager N/A ChildObjectsDescriptor N/A ReverseManyToOneDescriptor N/A __get__ N/A N/A self instance instance_type N/A None N/A N/A N/A instance None N/A N/A self N/A N/A N/A self child_object_manager_cls instance N/A __set__ N/A N/A self instance value N/A N/A N/A manager N/A N/A self __get__ instance N/A N/A N/A manager clear N/A N/A N/A manager add value N/A child_object_manager_cls N/A N/A self N/A N/A N/A N/A N/A rel N/A self rel N/A N/A N/A AttributeError N/A N/A rel N/A self related N/A N/A create_deferring_foreign_related_manager rel N/A self related_manager_cls N/A cached_property N/A ParentalKey N/A ForeignKey N/A N/A related_accessor_class ChildObjectsDescriptor N/A allow_unsaved_instance_assignment True contribute_to_related_class N/A N/A self cls related N/A N/A N/A N/A N/A N/A super ParentalKey self contribute_to_related_class cls related N/A N/A N/A N/A N/A N/A N/A cls _meta child_relations append related N/A N/A N/A AttributeError N/A N/A N/A N/A cls _meta child_relations N/A related N/A check N/A N/A self N/A kwargs N/A N/A errors N/A N/A N/A super ParentalKey self check kwargs N/A N/A N/A isinstance N/A N/A self rel to type N/A N/A issubclass N/A N/A self rel to ClusterableModel N/A N/A N/A N/A errors append N/A N/A checks Error ParentalKey must point to a subclass of ClusterableModel. hint N/A N/A Change {model_name} into a ClusterableModel or use a ForeignKey instead. format model_name N/A N/A N/A N/A N/A N/A self rel to _meta app_label . N/A N/A N/A self rel to __name__ obj self id modelcluster.E001 N/A N/A N/A N/A N/A self rel get_accessor_name + N/A N/A N/A N/A errors append N/A N/A checks Error related_name='+' is not allowed on ParentalKey fields hint Either change it to a valid name or remove it obj self id modelcluster.E002 N/A errors N/A N/A