#29294: ModelAdmin.raw_id_fields should be included in select_related() by
change_view and used by raw id widget
-------------------------------------+-------------------------------------
     Reporter:  Yurii Zolot'ko       |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  contrib.admin        |                  Version:  1.11
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 I'm not sure that including `raw_id_fields` in `select_related()` will
 always be a net performance increase, so I'm skeptical about that
 proposal.

 The idea about allowing `ForeignKeyRawIdWidget` to reuse the queryset
 seems interesting, however, I think you'll have to provide a patch to
 convince me that this it's feasible and sufficiently backwards compatible.
 Feel free to reopen the ticket if you provide that and someone will take
 another look.

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

Reply via email to