#20468: loaddata - during import exclude some applications
--------------------------------------------+--------------------
Reporter: fizista | Owner: nobody
Type: New feature | Status: new
Component: Core (Management commands) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
Would propose adding this option to the command loaddata:
{{{
-e EXCLUDE, --exclude=EXCLUDE
An appname or appname.ModelName to exclude (use
multiple --exclude to exclude multiple
apps/models).
}}}
Sometimes it can be useful if you have a file with data from multiple
applications / models, and we want to import only a portion of the data.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.