| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-04-22 | Fixed #10919 -- Added delete_confirmation_max_display to ModelAdmin. | Rodrigo Vieira | |
| The new ModelAdmin.delete_confirmation_max_display attribute allows limiting the number of related objects shown on the delete confirmation page. When the limit is reached, a "…and N more objects." message is shown. The feature relies on a new truncated_unordered_list template filter added to django.contrib.admin.templatetags.admin_filters. Thanks Jacob Tyler Walls for the review and guidance, Tobias McNulty for the report, and terminator14 for the solution suggested. | |||
| 2026-01-22 | Fixed #13883 -- Rendered named choice groups with <optgroup> in ↵ | seanhelvey | |
| FilteredSelectMultiple. This patch adds support for <optgroup>s in FilteredSelectMultiple widgets. When a popup returns a new object, if the source field contains optgroup choices, the optgroup is now also included in the response data. Additionally, this adds error handling for invalid source_model parameters to prevent crashes and display user-friendly error messages instead. Co-authored-by: Michael McLarnon <mmclar@gmail.com> | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-01-12 | Fixed #31747 -- Fixed model enumeration via admin URLs. | Jon Dufresne | |
| Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2019-12-02 | Fixed CVE-2019-19118 -- Required edit permissions on parent model for ↵ | Carlton Gibson | |
| editable inlines in admin. Thank you to Shen Ying for reporting this issue. | |||
| 2018-12-31 | Updated test URL patterns to use path() and re_path(). | Tim Graham | |
| 2018-08-17 | Fixed #29663 -- Made admin change view redirect to changelist with view ↵ | Jon Dufresne | |
| permission. | |||
| 2018-06-15 | Fixed #29487 -- Accounted for object level permissions when calculating ↵ | Paulo | |
| change view's read-only fields. Thanks Matthew Frazier for the report and fix. | |||
| 2018-02-07 | Fixed #25790 -- Allowed disable column sorting in the admin changelist. | Alexander Gaevsky | |
| Thanks Ramiro Morales for completing the patch. | |||
| 2017-12-01 | Used a separate admin site for autocomplete tests. | Tim Graham | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2016-06-27 | Fixed #26779 -- Added extra_context parameter to admin's i18n_javascript view. | Shabda Raaj | |
| 2015-06-08 | Fixed #21927 -- Made application and instance namespaces more distinct. | Marten Kenbeek | |
| Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces. | |||
| 2015-03-02 | Fixed #24294 -- Allowed staff_member_required decorator to handle args. | Andrei Kulakov | |
| 2015-02-08 | Replaced hardcoded URLs in admin_* tests | Claude Paroz | |
| Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-12-31 | Fixed #22295 -- Replaced permission check for displaying admin user-tools | Thomas Tanner | |
| 2014-06-13 | Fixed #6327 -- Added has_module_permission method to BaseModelAdmin | Maxime Turcotte | |
| Thanks chrj for the suggestion. | |||
| 2014-04-03 | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | |
| Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | |||
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-07-18 | Fixed #20767 -- Fixed ModelAdmin.preserve_filters for namespaced URLs. | Loic Bistuer | |
| Thanks Collin Anderson for the report. | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
