summaryrefslogtreecommitdiff
path: root/tests/admin_utils/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #1873 -- Handled multi-valued query parameters in admin changelist ↵sarahboyce2023-03-161-0/+15
| | | | filters.
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
| | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+2
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-128/+142
|
* Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz2021-09-141-2/+2
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak2021-01-141-6/+0
|
* Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope2021-01-131-6/+5
| | | Refs #25134, #32099.
* Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and ↵Qi Zhao2020-10-091-0/+1
| | | | read-only JSONField values in admin.
* Added test for django.contrib.admin.utils.help_text_for_field().Mariusz Felisiak2020-06-251-1/+12
|
* Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette2020-05-151-3/+4
|
* Fixed #31157 -- Fixed displaying read-only JSONField values in admin.dbxnr2020-05-081-0/+14
|
* Refs #31157 -- Added tests for display_for_field() with empty JSONField.dbxnr2020-05-081-0/+3
|
* Fixed #29682 -- Fixed admin change form crash if a view-only model's form ↵Tim Graham2018-08-201-0/+16
| | | | has an extra field.
* Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham2018-03-201-0/+4
| | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
* Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne2018-01-211-3/+3
|
* Fixed #28986 -- Prevented boolean values in admin list display from being ↵Jonas Haag2018-01-031-0/+2
| | | | formatted with thousand separators.
* Added display_for_value() tests for boolean values.Jonas Haag2018-01-031-0/+11
|
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-1/+1
|
* Refs #23919 -- Removed unneeded force_str callsClaude Paroz2017-01-201-5/+1
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-3/+3
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-4/+4
|
* Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display ↵krishbharadwaj2016-06-081-0/+1
| | | | display the id.
* Fixed #26582 -- Added prettier admin display for list values.Dan Watson2016-05-071-2/+9
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-3/+1
|
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-4/+2
|
* Fixed #26125 -- Fixed E731 flake warnings.userimack2016-01-251-1/+2
|
* Fixed #21113 -- Made LogEntry.change_message language independentClaude Paroz2016-01-081-4/+4
| | | | Thanks Tim Graham for the review.
* Moved LogEntry-related tests to their own test caseClaude Paroz2015-12-281-27/+0
| | | | | Thanks Tim Graham for reviewing and contributing to the patch. Refs #21113.
* Fixed #25668 -- Misc spelling errorsVille Skyttä2015-11-031-1/+1
|
* Fixed #25348 -- Removed unused gif/png images from contrib.admin.elky2015-09-041-1/+1
|
* Fixed #20597 -- Replaced admin GIF/PNG icons by SVGelky2015-08-271-1/+1
|
* Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham2015-08-101-3/+3
| | | | | | | This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
* Fixed #24962 -- Added newline to characters escaped by ↵Tim Graham2015-06-181-1/+4
| | | | | | contrib.admin.utils.quote() Thanks alito for the report and patch.
* Fixed #24474 -- Allowed configuring the admin's empty change list value.Loek van Gent2015-06-041-20/+22
|
* Fixed #24593 -- Fixed number formatting of readonly IntegerFields in the admin.Eric Rouleau2015-04-141-0/+6
|
* Added tests with number fields for admin.utils.display_for_field().Eric Rouleau2015-04-141-1/+17
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-6/+10
|
* Renamed tests for util -> utils moves; refs #17627.Tim Graham2014-12-311-0/+353