mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #20468 -- Added loaddata --exclude option.
Thanks Alex Morozov for the initial patch.
This commit is contained in:
committed by
Tim Graham
parent
21130ce1a9
commit
ae2a7da86b
@@ -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"?
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user