summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/test_autocomplete_widget.py
AgeCommit message (Collapse)Author
2022-08-03Fixed #33888 -- Fixed get_select2_language() crash with no language activated.Claude Paroz
Regression in 3079133c73f3b8b0e929673b06b62dce1f54be71.
2022-02-18Fixed #33514 -- Added fallbacks to subsequent language codes in Select2 ↵My-Name-Is-Nabil
translations.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-21Fixed #33070 -- Fixed loading translations with language subtags in admin's ↵Cleiton Lima
Select2 widget.
2021-03-18Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.Johannes Maron
In MTI or ForeignKey as primary key cases, it is required to fetch the attname from the field instance on the remote model in order to reliably resolve the to_field_name. Co-authored-by: Johannes Maron <info@johanneshoppe.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-01-12Fixed #29010, Fixed #29138 -- Added limit_choices_to and to_field support to ↵Johannes Maron
autocomplete fields. * Fixed #29010 -- Added limit_choices_to support to autocomplete fields. * Fixed #29138 -- Allowed autocomplete fields to target a custom to_field rather than the PK.
2019-08-27Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget.Federico Jaramillo Martínez
2019-02-27Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient.Matthias Kestenholz
Thanks gasman for the tests, and codingjoe and timgraham for the review.
2018-03-15Fixed #29221 -- Corrected admin's autocomplete widget to add a space after ↵Artem Tabolin
custom classes.
2018-03-13Fixed #29213 -- Fixed autocomplete widget's translations for zh-hans/zh-hant.dzhuang
2017-12-01Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add ↵Tim Graham
another" inlines. Also allowed autocomplete widgets to work on AdminSites with a name other than 'admin'.
2017-09-18Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵Johannes Hoppe
ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch.