#32628: Add extra data to autocomplete request
-------------------------------------+-------------------------------------
Reporter: Seb G | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: duplicate
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 Mariusz Felisiak):
* cc: Johannes Maron (added)
* status: new => closed
* resolution: => duplicate
Comment:
Thanks for this proposition, however I don't think that JavaScript is the
right place to inject extra parameters. I would rather customize
`ModelAdmin.autocomplete_view()` and `AutocompleteJsonView`.
Closing as a duplicate of #29700 as documenting `AutocompleteJsonView` and
`ModelAdmin.autocomplete_view()` should fix this issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/32628#comment:2>
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.f2afd9e9f2bcad197a7e632908e17166%40djangoproject.com.