mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.
This commit is contained in:
committed by
Tim Graham
parent
5a2556afb9
commit
ec9043ab2f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user