Module Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Return If UnaryOpNot Call NameLoad NameLoad Str NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Raise NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad Str NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num body If BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Return Raise Call NameLoad Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ClassDef bases NameLoad body Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str NameLoad CompareLt AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad If BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareNotEq NameLoad NameLoad body Raise NameLoad BinOpMod Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A copy django.db.models.query QuerySet EmptyQuerySet insert_query django.db.models signals django.db.models.fields FieldDoesNotExist ensure_default_manager N/A N/A sender N/A kwargs N/A N/A 
    Ensures that a Model subclass contains a default manager  and sets the
    _default_manager attribute on the class. Also sets up the _base_manager
    points to a plain Manager instance (which could be the same as
    _default_manager if it's not a subclass of Manager).
     N/A cls sender N/A N/A N/A cls _meta abstract N/A N/A N/A N/A N/A getattr cls _default_manager None N/A N/A N/A N/A N/A N/A N/A cls _meta get_field objects N/A ValueError N/A Model %s must specify a custom Manager, because it has a field named 'objects' N/A cls __name__ N/A N/A N/A FieldDoesNotExist N/A N/A N/A N/A N/A cls add_to_class objects N/A Manager N/A N/A cls _base_manager N/A cls objects N/A N/A N/A N/A getattr cls _base_manager None N/A N/A default_mgr N/A N/A cls _default_manager __class__ N/A N/A N/A default_mgr Manager N/A getattr default_mgr use_for_related_fields False N/A N/A N/A cls _base_manager N/A cls _default_manager N/A N/A base_class N/A N/A N/A default_mgr mro N/A 1 N/A N/A N/A N/A base_class Manager N/A getattr base_class use_for_related_fields False N/A N/A N/A N/A cls add_to_class _base_manager N/A base_class N/A N/A N/A AssertionError Should never get here. Please report a bug, including your model and model manager setup. N/A N/A N/A N/A N/A signals class_prepared connect ensure_default_manager Manager N/A object N/A N/A creation_counter 0 __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Manager self __init__ N/A N/A N/A self _set_creation_counter N/A N/A self model None N/A N/A self _inherited False N/A contribute_to_class N/A N/A self model name N/A N/A N/A N/A self model model N/A N/A setattr model name N/A ManagerDescriptor self N/A N/A N/A N/A getattr model _default_manager None N/A N/A self creation_counter N/A N/A model _default_manager creation_counter N/A N/A N/A model _default_manager self N/A N/A N/A N/A model _meta abstract N/A N/A self _inherited N/A N/A N/A N/A self model _meta proxy N/A N/A N/A N/A N/A N/A model _meta abstract_managers append N/A N/A self creation_counter name self N/A N/A N/A N/A N/A N/A model _meta concrete_managers append N/A N/A self creation_counter name self N/A _set_creation_counter N/A N/A self N/A N/A N/A 
        Sets the creation counter value for this instance and increments the
        class-level copy.
         N/A N/A self creation_counter N/A Manager creation_counter N/A N/A Manager creation_counter 1 N/A _copy_to_model N/A N/A self model N/A N/A N/A 
        Makes a copy of the manager and assigns it to 'model', which should be
        a child of the existing model (used when inheriting a manager from an
        abstract base class).
         N/A N/A issubclass model N/A self model N/A mgr N/A N/A copy copy self N/A N/A N/A mgr _set_creation_counter N/A N/A mgr model model N/A N/A mgr _inherited True N/A mgr N/A get_empty_query_set N/A N/A self N/A N/A N/A N/A EmptyQuerySet N/A self model N/A get_query_set N/A N/A self N/A N/A N/A Returns a new QuerySet object.  Subclasses can override this method
        to easily customize the behavior of the Manager.
         N/A N/A QuerySet N/A self model N/A none N/A N/A self N/A N/A N/A N/A N/A self get_empty_query_set N/A all N/A N/A self N/A N/A N/A N/A N/A self get_query_set N/A count N/A N/A self N/A N/A N/A N/A N/A N/A N/A self get_query_set count N/A dates N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set dates args kwargs N/A distinct N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set distinct args kwargs N/A extra N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set extra args kwargs N/A get N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set get args kwargs N/A get_or_create N/A N/A self N/A kwargs N/A N/A N/A N/A N/A N/A self get_query_set get_or_create kwargs N/A create N/A N/A self N/A kwargs N/A N/A N/A N/A N/A N/A self get_query_set create kwargs N/A filter N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set filter args kwargs N/A aggregate N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set aggregate args kwargs N/A annotate N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set annotate args kwargs N/A complex_filter N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set complex_filter args kwargs N/A exclude N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set exclude args kwargs N/A in_bulk N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set in_bulk args kwargs N/A iterator N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set iterator args kwargs N/A latest N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set latest args kwargs N/A order_by N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set order_by args kwargs N/A select_related N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set select_related args kwargs N/A values N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set values args kwargs N/A values_list N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set values_list args kwargs N/A update N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set update args kwargs N/A reverse N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set reverse args kwargs N/A defer N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set defer args kwargs N/A only N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self get_query_set only args kwargs N/A _insert N/A N/A self values N/A kwargs N/A N/A N/A insert_query N/A self model values kwargs N/A _update N/A N/A self values N/A kwargs N/A N/A N/A N/A N/A N/A self get_query_set _update values kwargs N/A N/A ManagerDescriptor N/A object N/A __init__ N/A N/A self manager N/A N/A N/A N/A self manager manager N/A __get__ N/A N/A self instance type N/A None N/A N/A N/A instance None N/A N/A AttributeError N/A Manager isn't accessible via %s instances N/A type __name__ N/A N/A self manager N/A N/A EmptyManager N/A Manager N/A get_query_set N/A N/A self N/A N/A N/A N/A N/A self get_empty_query_set N/A N/A