#20927: Include known related fields for subclassed "QuerySet.only"
-------------------------------------+-------------------------------------
     Reporter:  lvo@…                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.5
  (models, ORM)                      |               Resolution:  invalid
     Severity:  Normal               |             Triage Stage:
     Keywords:  queryset, only,      |  Unreviewed
  related manager, manager           |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by sduveen):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 only() is about the fields returned.  It's specifically used to limit
 fields and you use it so that it won't include additional ones.  If you
 want defaults, then don't use only()

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20927#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/077.6e4ef98764d8609e801a6d938bc7f63b%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to