#37008: AutocompleteJsonView shouuld return source_model and remote_model in
process_request
-------------------------------------+-------------------------------------
     Reporter:  Mateusz Kurowski     |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  contrib.admin
      Version:  6.0                  |                 Severity:  Normal
     Keywords:  admin,               |             Triage Stage:
  autocomplete,                      |  Unreviewed
  AutocompleteJsonView               |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 Hey, I think it makes sense if you want to perform extra work in
 subclassed `AutocompleteJsonView`.
 By binding these values to instance properties they are accesible in
 `get_queryset`
 The lookup is already happening there's no reason to do it twice.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37008>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019d2ffdabb8-42bb6b5d-a16a-4aee-b33f-13f1992e9f0c-000000%40eu-central-1.amazonses.com.

Reply via email to