#25050: When the default manager returns a queryset with a deferred field, the
dumpdata command fails to produce importable data.
-------------------------------+--------------------
     Reporter:  cecedille1     |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 When the default manager returns a queryset that has deferred fields, with
 Queryset.only or Queryset.deferred, the dumpdata command will print  the
 model name as *the model*_derred_*thefields*. This model name make the
 import fail.

 I made a github project to expose the bug:
 https://github.com/cecedille1/DjangoBug

 I've a project with a table containing images as blobs. I deferred the
 image to avoid retrieving too many datas from the database.

--
Ticket URL: <https://code.djangoproject.com/ticket/25050>
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/053.3619d4511c9fac0b7232a5bcba26e3c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to