mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Merge pull request #98 from BME-IK/move-timestamp-docs
Move TimeStampedModel docs to models.rst
This commit is contained in:
commit
0ddbbff1b7
2 changed files with 7 additions and 7 deletions
|
|
@ -94,13 +94,6 @@ it's safe to use as your default manager for the model.
|
|||
.. _Django bug #16572: https://code.djangoproject.com/ticket/16572
|
||||
|
||||
|
||||
TimeStampedModel
|
||||
----------------
|
||||
|
||||
This abstract base class just provides self-updating ``created`` and
|
||||
``modified`` fields on any model that inherits from it.
|
||||
|
||||
|
||||
.. _QueryManager:
|
||||
|
||||
QueryManager
|
||||
|
|
|
|||
|
|
@ -10,6 +10,13 @@ manager that returns only objects for whom the current date-time lies
|
|||
within their time range.
|
||||
|
||||
|
||||
TimeStampedModel
|
||||
----------------
|
||||
|
||||
This abstract base class just provides self-updating ``created`` and
|
||||
``modified`` fields on any model that inherits from it.
|
||||
|
||||
|
||||
StatusModel
|
||||
-----------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue