summaryrefslogtreecommitdiff
path: root/tests/admin_utils
AgeCommit message (Collapse)Author
2023-10-31Fixed #34462 -- Made admin log actions in bulk.Akash Kumar Sen
This also deprecates ModelAdmin.log_deletion() and LogEntryManager.log_action().
2023-08-22Removed unnecessary trailing commas in tests.konsti
2023-03-16Fixed #1873 -- Handled multi-valued query parameters in admin changelist ↵sarahboyce
filters.
2023-02-08Fixed #34303 –- Allowed customizing admin site log entry list.Jacob Rief
Added AdminSite.get_log_entries() as an override point and made this available to the template via each_context().
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
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
2022-10-07Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() ↵Mariusz Felisiak
where appropriate. Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-01-14Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2020-10-09Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and ↵Qi Zhao
read-only JSONField values in admin.
2020-06-25Added test for django.contrib.admin.utils.help_text_for_field().Mariusz Felisiak
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2020-05-08Fixed #31157 -- Fixed displaying read-only JSONField values in admin.dbxnr
2020-05-08Refs #31157 -- Added tests for display_for_field() with empty JSONField.dbxnr
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-06-14Fixed #12952 -- Adjusted admin log change messages to use form labels ↵Sanyam Khurana
instead of field names.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-08-20Fixed #29682 -- Fixed admin change form crash if a view-only model's form ↵Tim Graham
has an extra field.
2018-05-07Fixed #29370 -- Added choices to LogEntry.action_flag field.Nicolas Noé
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-02-07Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-03Fixed #28986 -- Prevented boolean values in admin list display from being ↵Jonas Haag
formatted with thousand separators.
2018-01-03Added display_for_value() tests for boolean values.Jonas Haag
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-19Completed test coverage for admin's LogEntry model.Anton Samarchyan
2017-06-09Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.Collin Anderson
2017-04-04Updated tests after French translation updateClaude Paroz
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-05Refs #27218 -- Fixed LogEntry tests on MySQL 5.5.Tim Graham
2016-10-04Fixed #27218 -- Returned LogEntry instances from ModelAdmin.log_*() methods.François Freitag
2016-10-01Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field ↵Claude Paroz
detection Thanks Ramiro Morales for the report and Tim Graham for the review.
2016-08-01Fixed admin_utils test failures due to translation updates.Tim Graham
2016-06-08Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display ↵krishbharadwaj
display the id.
2016-05-07Fixed #26582 -- Added prettier admin display for list values.Dan Watson
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-08Made @override_settings(ROOT_URLCONF=...) consistent.Tim Graham
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-10Refs #21113 -- Updated test to allow for bad MySQL time resolutionClaude Paroz