Model class reference¶
This document covers features of the Model
class.
Attributes¶
objects
¶
-
Model.
objects
¶ Each non-abstract
Model
class must have aManager
instance added to it. Data-migrator ensures that in your model class you have at least a defaultSimpleManager
specified. If you don’t add your ownManager
, Django will add an attributeobjects
containing defaultSimpleManager
instance. If you add your ownManager
instance attribute, the default one does not appear.