summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/widgetadmin.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #19215 -- Fixed rendering ClearableFileInput when editing with invalid ↵Marcelo Galigniana2022-10-251-0/+2
| | | | | | files. Thanks Michael Cardillo for the initial patch.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-12/+27
|
* Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.Johannes Maron2021-03-181-1/+3
| | | | | | | | | | 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>
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
|
* Imported specific models in a few tests that didn't.Tim Graham2016-12-081-14/+17
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
|
* Fixed #14497 -- Improved admin widget for "read only" FileFieldsRiccardo Magliocchetti2015-02-041-1/+6
| | | | Based on patch by Adam J Forster, Paul Collins, and Julien.
* Whitespace cleanup.Tim Graham2013-10-101-1/+4
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly ↵Julien Phalip2013-09-071-0/+2
| | | | | | 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.
* Added some Selenium tests for the admin raw id widget.Julien Phalip2013-08-041-1/+1
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-6/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+50