#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 kissgyorgy):
Replying to [comment:3 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?
Sure, because if you dumpdata without parameters, everything will be
dumped. Absolutely not necessary to warn in that case at all.
It would be just nice if it would warn that you "might" lose some data if
somebody is unobservant like me :)
--
Ticket URL: <https://code.djangoproject.com/ticket/26144#comment:4>
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.a5399d6e1586b1cd5ba04cd05d6ac49a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.