| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-06-05 | Fixed #36984 -- Made inline formset error messages respect ↵ | Karolis Ryselis | |
| delete_confirmation_max_display. | |||
| 2026-05-11 | Refs #36593 -- Deprecated setting ModelAdmin.list_select_related to True. | Adam Johnson | |
| Now that calling `QuerySet.select_related()` without arguments is deprecated, this commit deprecates the corresponding admin features. | |||
| 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-12 | Fixed #36804 -- Fixed admin system check crash for missing models. | Parth Paradkar | |
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-05-08 | Fixed #36363 -- Added field names to admin duplicated fields error hint. | Eric Blum | |
| 2024-08-05 | Fixed #35628 -- Allowed compatible GeneratedFields for ↵ | John Parton | |
| ModelAdmin.date_hierarchy. | |||
| 2024-02-05 | Fixed #10743 -- Allowed lookups for related fields in ModelAdmin.list_display. | Tom Carrick | |
| Co-authored-by: Alex Garcia <me@alexoteiza.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Nina Menezes <https://github.com/nmenezes0> | |||
| 2023-12-27 | Fixed #35056 -- Fixed system check crash on reverse m2m relations with ↵ | Mariusz Felisiak | |
| related_name in ModelAdmin.filter_horizontal/vertical. Thanks Thomas Feldmann for the report. Regression in 107865780aa44914e21d27fdf4ca269bc61c7f01. | |||
| 2023-11-02 | Fixed #34927 -- Fixed admin system check for inlines with foreign keys to ↵ | Antoine Cheneau | |
| proxy models. Follow up to 0e8be73812a6e62d5a6b12a585d133b56bc2bf52. | |||
| 2023-06-21 | Fixed #34345 -- Added system check for ManyToManyFields with intermediate ↵ | Hrushikesh | |
| tables in ModelAdmin.filter_horizontal/vertical. | |||
| 2023-05-02 | Fixed #34513 -- Added system check for relational fields in ↵ | Bakdolot | |
| ModelAdmin.list_display. | |||
| 2023-04-24 | Fixed #34481 -- Added system check for reverse related fields in ↵ | Bakdolot | |
| ModelAdmin.list_display. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2021-09-03 | Fixed #32975 -- Fixed admin system check for inlines with foreign keys to ↵ | taulant | |
| proxy models. | |||
| 2021-03-04 | Fixed #32494 -- Adjusted system check for raw_id_fields to warn about ↵ | Hasan Ramezani | |
| Field.attname. | |||
| 2021-03-04 | Corrected messages of admin checks for invalid model field names. | Hasan Ramezani | |
| 2021-01-13 | Fixed #16117 -- Added decorators for admin action and display functions. | Nick Pope | |
| Refs #25134, #32099. | |||
| 2020-01-10 | Fixed #30980 -- Improved error message when checking uniqueness of admin ↵ | Adam Donaghy | |
| actions' __name__. Thanks Keshav Kumar for the initial patch. | |||
| 2019-07-10 | Fixed #30543 -- Fixed checks of ModelAdmin.list_display for fields ↵ | Hasan Ramezani | |
| accessible only via instance. Co-Authored-By: Andrew Simons <andrewsimons@bubblegroup.com> | |||
| 2018-11-20 | Fixed #29282 -- Prevented some admin checks from crashing with TypeError. | Sanyam Khurana | |
| Co-authored-by: David Sanders <dsanders11@ucsbalum.com> | |||
| 2018-10-02 | Fixed #29711 -- Added a system check for uniquness of admin actions' __name__. | Przemysław Buczkowski | |
| 2018-06-18 | Fixed #29419 -- Allowed permissioning of admin actions. | Carlton Gibson | |
| 2018-06-14 | Refs #29428 -- Fixed admin check crash when using a query expression in ↵ | Tim Graham | |
| ModelAdmin.ordering. | |||
| 2018-04-16 | Fixed inconsistent formatting in tests/modeladmin/test_checks.py. | Tim Graham | |
| 2018-04-13 | Fixed #29322 -- Made admin check all ModelAdmin fieldsets for duplicates. | Matthias Kestenholz | |
| 2017-12-28 | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | |
| 2017-12-13 | Fixed #28898 -- Corrected admin check to allow a OneToOneField in ↵ | Rodrigo Pinheiro Marques de Araújo | |
| ModelAdmin.autocomplete_fields. | |||
| 2017-09-18 | Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵ | Johannes Hoppe | |
| ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch. | |||
| 2017-06-02 | Improved test coverage of contrib/admin/checks.py. | Anton Samarchyan | |
| 2017-03-02 | Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to ↵ | David Szotten | |
| 'pk'. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-12-22 | Fixed #26632 -- Skipped admin.E111 list_display_links check if ↵ | Anton Samarchyan | |
| get_list_display() is overridden. | |||
| 2016-12-21 | Moved modeladmin check tests to a separate file. | Tim Graham | |
