mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.
This commit is contained in:
parent
5a2556afb9
commit
ec9043ab2f
4 changed files with 27 additions and 4 deletions
|
@ -383,14 +383,17 @@ onto which the data will be loaded.
|
|||
|
||||
.. django-admin-option:: --ignorenonexistent
|
||||
|
||||
The :djadminopt:`--ignorenonexistent` option can be used to ignore fields that
|
||||
may have been removed from models since the fixture was originally generated.
|
||||
|
||||
The :djadminopt:`--ignorenonexistent` option can be used to ignore fields and
|
||||
models that may have been removed since the fixture was originally generated.
|
||||
|
||||
.. versionchanged:: 1.7
|
||||
|
||||
``--app`` was added.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
``--ignorenonexistent`` also ignores non-existent models.
|
||||
|
||||
.. django-admin-option:: --app
|
||||
|
||||
The :djadminopt:`--app` option can be used to specify a single app to look
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue