#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 Carlton Gibson):

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


Comment:

 Hi Jurrian

 It looks like the code example there isn't complete… 🤔 — Can I ask you to
 post a sample project somewhere showing the widget  in action, so I can
 properly assess it?

 If the `value` passed to `label_and_url_for_value` is a model instance
 then maybe we can avoid the lookup but I need to see how that all fits
 together to say properly.

 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29294#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.0330da105aa4efab58b9f696e5aa6a9d%40djangoproject.com.

Reply via email to