summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/widgetadmin.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
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>
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-12-08Imported specific models in a few tests that didn't.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2015-02-04Fixed #14497 -- Improved admin widget for "read only" FileFieldsRiccardo Magliocchetti
Based on patch by Adam J Forster, Paul Collins, and Julien.
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-09-07Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly ↵Julien Phalip
considered by the admin's interface when creating related objects. Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
2013-08-04Added some Selenium tests for the admin raw id widget.Julien Phalip
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner