#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
-------------------------------------+-------------------------------------
Changes (by timgraham):

 * needs_better_patch:   => 1
 * needs_tests:   => 0
 * needs_docs:   => 0
 * has_patch:  0 => 1
 * stage:  Unreviewed => Accepted


Comment:

 Looking at the proposed [https://github.com/django/django/pull/6051 pull
 request], I think it would be fine to warn if the proxy model is specified
 in the command args, e.g. `dumpdata app.ProxyModel`, but otherwise I think
 warnings would clutter the output.

--
Ticket URL: <https://code.djangoproject.com/ticket/26144#comment:1>
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.45f997e5bd95d0036a0e8dd4921b18db%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to