#29111: Use autocomplete_fields in list_filter for related models
-----------------------------------------+------------------------
Reporter: Paul Tiplady | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
In Django 2.0, support for select2 AJAX autocomplete fields was added:
https://github.com/django/django/pull/6385
https://code.djangoproject.com/ticket/14370
This makes foreign key fields much more usable in the Admin, as the full
list of objects doesn't need to be loaded to populate a dropdown list (as
was the old way of doing this).
This issue covers using the new vendored select2 widgets to provide
similar autocomplete functionality for the list_filter UI (specifically,
presumably extending/replacing RelatedFieldListFilter).
Some discussion in the Github PR 6385 suggesting that the next step would
be to open an issue to track this work.
--
Ticket URL: <https://code.djangoproject.com/ticket/29111>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.66b3d20887b92fe1ce99a46114525749%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.