#26144: Warn if a proxy model is an argument to dumpdata
-------------------------------------+-------------------------------------
Reporter: kissgyorgy | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Core (Management | Version: 1.9
commands) |
Severity: Normal | Resolution:
Keywords: dumpdata, models | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
I don't see an advantage of burdening everyone that uses proxy models with
warnings for normal `dumpdata` usage. If we extended the warning to if an
app is specified like `dumpdata app` would that have helped?
The behavior seems intuitive to me, however, the
[https://docs.djangoproject.com/es/1.9/ref/django-admin/#dumpdata-app-
label-app-label-app-label-model dumpdata documentation] doesn't seem to
mention it, so that's a candidate for an update as well.
--
Ticket URL: <https://code.djangoproject.com/ticket/26144#comment:3>
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.6487a9f9ef07fdbaef043547901d798e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.