mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Removed usage of deprecated dumpdata options in docs.
This commit is contained in:
parent
8d959f73be
commit
1d975ff44b
2 changed files with 6 additions and 5 deletions
|
|
@ -334,7 +334,8 @@ model:
|
|||
generic relations, you should probably be using a natural key to uniquely
|
||||
identify related :class:`~django.contrib.contenttypes.models.ContentType`
|
||||
objects. See :ref:`natural keys<topics-serialization-natural-keys>` and
|
||||
:djadminopt:`dumpdata --natural <--natural>` for more information.
|
||||
:djadminopt:`dumpdata --natural-foreign <--natural-foreign>` for more
|
||||
information.
|
||||
|
||||
This will enable an API similar to the one used for a normal
|
||||
:class:`~django.db.models.ForeignKey`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue