summaryrefslogtreecommitdiff
path: root/tests/admin_utils
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #1873 -- Handled multi-valued query parameters in admin changelist ↵sarahboyce2023-03-161-0/+15
| | | | filters.
* Fixed #34303 –- Allowed customizing admin site log entry list.Jacob Rief2023-02-083-2/+46
| | | | Added AdminSite.get_log_entries() as an override point and made this available to the template via each_context().
* 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
* Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() ↵Mariusz Felisiak2022-10-071-1/+1
| | | | | where appropriate. Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e.
* 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-075-219/+288
|
* Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz2021-09-142-3/+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-132-7/+7
| | | 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-252-2/+17
|
* Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette2020-05-152-9/+13
|
* 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 #30400 -- Improved typography of user facing strings.Jon Dufresne2019-06-281-3/+3
| | | | Thanks Claude Paroz for assistance with translations.
* Fixed #12952 -- Adjusted admin log change messages to use form labels ↵Sanyam Khurana2019-06-142-9/+30
| | | | instead of field names.
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-311-2/+2
|
* 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 #29370 -- Added choices to LogEntry.action_flag field.Nicolas Noé2018-05-071-0/+7
|
* 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.
* Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham2018-02-071-3/+3
|
* 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
|
* Completed test coverage for admin's LogEntry model.Anton Samarchyan2017-06-191-0/+9
|
* Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.Collin Anderson2017-06-092-8/+11
|
* Updated tests after French translation updateClaude Paroz2017-04-041-3/+4
|
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-1/+1
| | | | Thanks Tim Graham for the review.
* Fixed spelling of "nonexistent".Tim Graham2017-02-031-2/+2
|
* 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 six.<various>_types usageClaude Paroz2017-01-182-7/+6
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-3/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-5/+0
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-4/+4
|
* Refs #27218 -- Fixed LogEntry tests on MySQL 5.5.Tim Graham2016-10-051-1/+1
|
* Fixed #27218 -- Returned LogEntry instances from ModelAdmin.log_*() methods.François Freitag2016-10-041-0/+8
|
* Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field ↵Claude Paroz2016-10-011-2/+18
| | | | | | detection Thanks Ramiro Morales for the report and Tim Graham for the review.
* Fixed admin_utils test failures due to translation updates.Tim Graham2016-08-011-3/+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
|
* Made @override_settings(ROOT_URLCONF=...) consistent.Tim Graham2016-02-081-1/+1
|
* Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham2016-02-061-6/+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
|
* Refs #21113 -- Updated test to allow for bad MySQL time resolutionClaude Paroz2016-01-101-2/+2
|
* Fixed #21113 -- Made LogEntry.change_message language independentClaude Paroz2016-01-084-10/+104
| | | | Thanks Tim Graham for the review.
* Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek2015-12-311-1/+1
| | | | Thanks to Tim Graham for the review.