summaryrefslogtreecommitdiff
path: root/tests/admin_changelist/admin.py
AgeCommit message (Collapse)Author
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2020-05-20Fixed #31597, #31603 -- Corrected admin clear all filters link behavior.Fran Hrzenjak
- Show "Clear all filters" only when any filter is selected. - Preserve query string not related with filters. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2020-04-29Added tests for saving with pending actions in admin changelist.Jon Dufresne
2018-02-14Fixed #28933 -- Improved the efficiency of ModelAdmin.date_hierarchy queries.Haki Benita
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-01Fixed #11313 -- Made ModelAdmin.list_editable more resilient to concurrent ↵bphillips
edits. Allowed admin POSTed bulk-edit data to use modeladmin.get_queryset() so that the ids in the POST data have a chance to match up even if the objects on the current page changed based on the ordering.
2015-12-29Fixed #19536 -- Included object-tools when ModelAdmin.has_add_permission() ↵Nick Sandford
is False.
2015-10-10Fixed #24687 -- Added select_related() validation for nested non-relational ↵Tim Graham
fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review.
2015-06-04Fixed #24474 -- Allowed configuring the admin's empty change list value.Loek van Gent
2015-05-28Fixed #24851 -- Fixed crash with reverse one-to-one relation in ↵Tim Graham
ModelAdmin.list_display Forwardport of 2456276b0250c9f21d580ca6c3f3c86345ad6370 from stable/1.8.x
2015-05-06Fixed #16609 -- Fixed duplicate admin results when searching nested M2M ↵Samuel Paccoud
relations. This was fixed earlier but only when the M2M relation was at the first level on the object. This commit fixes the issue even when the M2M is at deeper levels, such as behind a foreign key.
2015-04-08Revert "Fixed #24474 -- Allowed configuring the admin's empty change list ↵Tim Graham
value." This reverts commit 72f769f494822981db6df9524b92a2d86f8e69fe. There are several test failures that need to be fixed.
2015-04-08Fixed #24474 -- Allowed configuring the admin's empty change list value.Loek van Gent
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-02-22Added tests and minified javascript missing in ↵Bas Peschier
83a3add4bed8d8d49f93b30c817c66908b0a26ba. Refs #22038.
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-01Fixed #15185 -- Allowed ModelAdmin.list_display_links=None to disable change ↵Ramiro Morales
list links. Thanks rm_ for the suggestion.
2013-08-03Added ModelAdmin.get_search_fields.Loic Bistuer
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-06-05Fixed #19080 -- Fine-grained control over select_related in adminTomek Paczkowski
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner