#32628: Add extra data to autocomplete request
-------------------------------+--------------------------------------
Reporter: Seb G | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: wontfix
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):
* type: Cleanup/optimization => New feature
* resolution: duplicate => wontfix
Comment:
> Thanks for both answers. However, I respectfully disagree with both of
them since both solutions are implemented back-end side and hence lack
flexibility for some scenario (including the ones I was opening this
ticket for).
>
> Simplest example: I want to dynamically add the value of another field
of the form as an extra GET parameter to the autocomplete, to implement
some sort of fields-coupling.
Agreed, there is a use case that is not covered by the current
implementation, however the Django Admin is not a
[https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#module-
django.contrib.admin universal tool for building an app]. You can always
override `autocomplete.js` in your project.
--
Ticket URL: <https://code.djangoproject.com/ticket/32628#comment:4>
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.ac1607e157054e83430eea5d46496ece%40djangoproject.com.