summaryrefslogtreecommitdiff
path: root/tests/admin_changelist
AgeCommit message (Collapse)Author
2021-09-21Fixed #33083 -- Fixed selecting all items in the admin changelist when ↵Carlton Gibson
actions are both top and bottom. Thanks Benjamin Locher for the report. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
2021-06-07Refs #24121 -- Added __repr__() to ChangeList and BaseStorage.saeedblanchette
2021-05-26Fixed #32543 -- Added search_help_text to ModelAdmin.Hasan Ramezani
2021-04-27Fixed #32682 -- Made admin changelist use Exists() instead of distinct() for ↵Mariusz Felisiak
preventing duplicates. Thanks Zain Patel for the report and Simon Charette for reviews. The exception introduced in 6307c3f1a123f5975c73b231e8ac4f115fd72c0d revealed a possible data loss issue in the admin.
2021-04-27Refs #19080 -- Added tests for preserving select_related() in the admin ↵Mariusz Felisiak
changelist.
2021-04-21Fixed #32647 -- Restored multi-row select with shift-modifier in admin ↵Carlton Gibson
changelist. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2020-08-06Fixed #25513 -- Extracted admin pagination to Paginator.get_elided_page_range().Nick Pope
2020-08-06Refs #25513 -- Fixed admin pagination elision bounds.Nick Pope
It doesn't make sense to elide a single page number which could be a clickable link to that page. We only want to elide two or more pages.
2020-08-06Refs #25513 -- Adjusted admin pagination to be 1-indexed.Nick Pope
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-05-14Corrected indentation in test case.Carlton Gibson
2020-05-14Added Selenium test coverage for actions.js.Jon Dufresne
2020-04-29Refs #30400 -- Improved typography of user facing strings in admin changelist.Jon Dufresne
2020-04-29Added tests for saving with pending actions in admin changelist.Jon Dufresne
2020-03-09Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows ↵Jon Dufresne
in admin.
2020-02-19Fixed #31187 -- Fixed detecting of existing total ordering in admin ↵Fabio Sangiovanni
changelist when using Meta.constraints. Detection of existing total ordering in admin changelist now takes into account non-partial unique constraints.
2020-02-19Removed duplicate tests in ChangeListTests.test_total_ordering_optimization().Fabio Sangiovanni
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2020-01-23Fixed #27888 -- Added link to clear all filters in the admin changelist view.Hasan Ramezani
2019-11-26Fixed #31031 -- Fixed data loss in admin changelist view when formset's ↵Baptiste Mispelon
prefix contains regex special chars. Regression in b18650a2634890aa758abae2f33875daa13a9ba3.
2019-10-29Fixed #30922 -- Fixed ModelAdmin.date_hierarchy queries with DST changes.Erwin Junge
There was an issue where admin date_hierarchy didn't render last day of a month in DST-switch month.
2019-08-22Fixed #30064 -- Added form to validate admin search fields query input.Carlton Gibson
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-01-17Refs #17198 -- Detected existing total ordering in admin changelist.Simon Charette
Appending pk is not necessary when a subset of the ordering expressions is contained in a non-nullable unique contraint. Related field ordering through lookups and related ordering introspection is omitted for simplicitly purpose.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-08-21Fixed #29658 -- Registered model lookups in tests with a context manager.Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
2018-08-01Fixed typos in comments and docs.luz.paz
2018-06-14Fixed #29428 -- Fixed admin changelist crash when using a query expression ↵Tim Graham
without asc()/desc() in the ordering.
2018-06-01Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-03-26Increased test coverage for {% get_admin_log %} and {% static %}.Hasan Ramezani
2018-03-21Refs #23919 -- Removed obsolete comments about u'' prefixes.Tim Graham
2018-02-28Fixed #27728 -- Allowed overriding admin templatetags templates.Raffaele Salmaso
2018-02-14Fixed #28933 -- Improved the efficiency of ModelAdmin.date_hierarchy queries.Haki Benita
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2017-12-27Fixed #28958 -- Fixed admin changelist crash when using a query expression ↵Mariusz Felisiak
in the page's ordering. Thanks Tim Graham for the review.
2017-11-18Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.Krzysztof Nazarewski
Thanks Krzysztof Nazarewski for the initial patch.
2017-08-22Fixed #28496 -- Added ModelAdmin.get_changelist_instance().Simon Meers
2017-06-09Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.Collin Anderson
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-15Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters.Josh Schneier
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
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
2017-01-17Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.Tim Graham
Per deprecation timeline.