|
@@ -668,13 +668,13 @@ option reference </ref/models/options>`.
|
|
|
Model attributes
|
|
|
================
|
|
|
|
|
|
-:attr:`~objects`
|
|
|
- The most important attribute of a model is the
|
|
|
- :class:`~django.db.models.Manager`, which is the interface through which
|
|
|
- database query operations are provided to Django models and is used to
|
|
|
- :ref:`retrieve the instances <retrieving-objects>` from the database. If no
|
|
|
- custom Manager is defined, the default name is ``objects``. Managers are
|
|
|
- only accessible via model classes, not the model instances.
|
|
|
+``objects``
|
|
|
+ The most important attribute of a model is the
|
|
|
+ :class:`~django.db.models.Manager`. It's the interface through which
|
|
|
+ database query operations are provided to Django models and is used to
|
|
|
+ :ref:`retrieve the instances <retrieving-objects>` from the database. If no
|
|
|
+ custom ``Manager`` is defined, the default name is ``objects``. Managers
|
|
|
+ are only accessible via model classes, not the model instances.
|
|
|
|
|
|
.. _model-methods:
|
|
|
|