summaryrefslogtreecommitdiff
path: root/tests/admin_changelist
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #1873 -- Handled multi-valued query parameters in admin changelist ↵sarahboyce2023-03-161-2/+2
| | | | filters.
* Fixed #32539 -- Added toggleable facet filters to ModelAdmin.sarahboyce2023-03-031-0/+7
| | | | | Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz Felisiak for reviews.
* Added test for preserving popup by reset link in the admin changelist.sarahboyce2023-03-031-0/+13
|
* Fixed #34045 -- Improved accessibility of selecting items in admin changelist.Durval Carvalho2023-02-161-7/+12
| | | | This adds "aria-label".
* Fixed #34303 –- Allowed customizing admin site log entry list.Jacob Rief2023-02-081-2/+8
| | | | 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
* Fixed #34283 -- Escaped title in admin's changelist filters.Stanislav Volyk2023-01-303-1/+48
| | | | Regression in 27aa7035f57f0db30b6632e4274e18b430906799.
* Fixed #32603 -- Made ModelAdmin.list_editable use transactions.Shubh18152022-10-061-2/+50
|
* Fixed #34040 -- Removed autofocus from admin search box.Moshe Nahmias2022-09-261-1/+1
|
* Fixed #27471 -- Made admin's filter choices collapsable.Marcelo Galigniana2022-04-261-0/+52
|
* Refs #31617 -- Added an id for helptext in admin forms.David Smith2022-04-061-2/+9
|
* 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-620/+757
|
* Fixed #16063 -- Adjusted admin changelist searches spanning multi-valued ↵Jacob Walls2021-12-152-3/+45
| | | | | | | relationships. This reduces the likelihood of admin searches issuing queries with excessive joins.
* Refs #16063 -- Added tests for searching against multiple related fields in ↵Jacob Walls2021-11-091-0/+51
| | | | admin changelist.
* Fixed #33211 -- Updated tests for Selenium 4.0.0.Carlton Gibson2021-10-211-19/+28
| | | | | Replaced deprecated `find_element[s]_by_*()` usages, in favour of `find_element[s]()` with an explicit `By`.
* Fixed #33083 -- Fixed selecting all items in the admin changelist when ↵Carlton Gibson2021-09-212-5/+10
| | | | | | | actions are both top and bottom. Thanks Benjamin Locher for the report. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
* Refs #24121 -- Added __repr__() to ChangeList and BaseStorage.saeedblanchette2021-06-071-0/+7
|
* Fixed #32543 -- Added search_help_text to ModelAdmin.Hasan Ramezani2021-05-261-0/+16
|
* Fixed #32682 -- Made admin changelist use Exists() instead of distinct() for ↵Mariusz Felisiak2021-04-271-21/+52
| | | | | | | | | 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.
* Refs #19080 -- Added tests for preserving select_related() in the admin ↵Mariusz Felisiak2021-04-272-0/+15
| | | | changelist.
* Fixed #32647 -- Restored multi-row select with shift-modifier in admin ↵Carlton Gibson2021-04-211-0/+22
| | | | | | changelist. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
* Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope2021-01-131-1/+2
| | | Refs #25134, #32099.
* Fixed #25513 -- Extracted admin pagination to Paginator.get_elided_page_range().Nick Pope2020-08-061-19/+19
|
* Refs #25513 -- Fixed admin pagination elision bounds.Nick Pope2020-08-061-15/+21
| | | | | 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.
* Refs #25513 -- Adjusted admin pagination to be 1-indexed.Nick Pope2020-08-061-12/+12
|
* Fixed #31597, #31603 -- Corrected admin clear all filters link behavior.Fran Hrzenjak2020-05-203-9/+86
| | | | | | | - 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>
* Corrected indentation in test case.Carlton Gibson2020-05-141-2/+4
|
* Added Selenium test coverage for actions.js.Jon Dufresne2020-05-141-3/+84
|
* Refs #30400 -- Improved typography of user facing strings in admin changelist.Jon Dufresne2020-04-291-4/+4
|
* Added tests for saving with pending actions in admin changelist.Jon Dufresne2020-04-292-0/+51
|
* Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows ↵Jon Dufresne2020-03-091-1/+1
| | | | in admin.
* Fixed #31187 -- Fixed detecting of existing total ordering in admin ↵Fabio Sangiovanni2020-02-191-0/+92
| | | | | | | changelist when using Meta.constraints. Detection of existing total ordering in admin changelist now takes into account non-partial unique constraints.
* Removed duplicate tests in ChangeListTests.test_total_ordering_optimization().Fabio Sangiovanni2020-02-191-4/+0
|
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-2/+1
|
* Fixed #27888 -- Added link to clear all filters in the admin changelist view.Hasan Ramezani2020-01-231-0/+12
|
* Fixed #31031 -- Fixed data loss in admin changelist view when formset's ↵Baptiste Mispelon2019-11-261-0/+20
| | | | | | prefix contains regex special chars. Regression in b18650a2634890aa758abae2f33875daa13a9ba3.
* Fixed #30922 -- Fixed ModelAdmin.date_hierarchy queries with DST changes.Erwin Junge2019-10-291-0/+18
| | | | | There was an issue where admin date_hierarchy didn't render last day of a month in DST-switch month.
* Fixed #30064 -- Added form to validate admin search fields query input.Carlton Gibson2019-08-221-0/+17
|
* Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne2019-06-281-1/+1
| | | | Thanks Claude Paroz for assistance with translations.
* Refs #17198 -- Detected existing total ordering in admin changelist.Simon Charette2019-01-171-2/+79
| | | | | | | 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.
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-311-2/+2
|
* Made reused RequestFactory instances class attributes.Simon Charette2018-11-271-3/+1
|
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-1/+4
|
* Fixed #29658 -- Registered model lookups in tests with a context manager.Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-08-211-9/+3
|
* Fixed typos in comments and docs.luz.paz2018-08-011-1/+1
|
* Fixed #29428 -- Fixed admin changelist crash when using a query expression ↵Tim Graham2018-06-141-0/+11
| | | | without asc()/desc() in the ordering.
* Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy2018-06-012-3/+85
| | | | Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.
* Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang2018-05-162-2/+43
| | | | | Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
* Increased test coverage for {% get_admin_log %} and {% static %}.Hasan Ramezani2018-03-261-15/+28
|