mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #20468 -- Added loaddata --exclude option.
Thanks Alex Morozov for the initial patch.
This commit is contained in:
parent
21130ce1a9
commit
ae2a7da86b
6 changed files with 75 additions and 19 deletions
|
@ -416,6 +416,14 @@ originally generated.
|
|||
|
||||
Specifies a single app to look for fixtures in rather than looking in all apps.
|
||||
|
||||
.. django-admin-option:: --exclude EXCLUDE, -e EXCLUDE
|
||||
|
||||
.. versionadded:: 1.11
|
||||
|
||||
Excludes loading the fixtures from the given applications and/or models (in the
|
||||
form of ``app_label`` or ``app_label.ModelName``). Use the option multiple
|
||||
times to exclude more than one app or model.
|
||||
|
||||
What's a "fixture"?
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue