| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 3 days | Refs #15759 -- Fixed ModelAdmin.list_editable form submission for ↵ | Artyom Kotovskiy | |
| non-editable instances. Added formset that excludes objects for which user has no permission for POST formset as well. Fixed regression test: the test was not simulating real behaviour properly. By providing full form data for the post request we skipped the part where the user was actually limited in permissions and only modified some of the rows. Improved tests by getting rid of obj.id % 2 approach for granting permissions per object for users, since it is not the safest. Instead granting permissions simply by 'alive' parameter, which is simpler and more stable. Bug in 84db026228413dda4cd195464554d51c0b208e32. | |||
| 9 days | Fixed #15759 -- Excluded fields by per-object permissions for ↵ | Artyom Kotovskiy | |
| ModelAdmin.list_editable. Instead of going over all objects in a queryset and filtering by user permissions, added skipping while saving the formset so there is no need to refetch objects again. | |||
| 2026-04-08 | Refs CVE-2026-4292 -- Isolated new test in AdminViewListEditable. | Jacob Walls | |
| As originally written, this test interfered with admin_views.tests.SeleniumTests.test_inline_uuid_pk_add_with_popup. To fix this, register the new ModelAdmin with a different AdminSite. | |||
| 2026-04-07 | Fixed CVE-2026-4292 -- Disallowed instance creation via ↵ | Jacob Walls | |
| ModelAdmin.list_editable. Thanks Natalia Bidart, Jake Howard, and Markus Holtermann for reviews. | |||
| 2026-02-27 | Fixed #34643 -- Moved inputs beneath labels and errors in admin forms. | antoliny0919 | |
| Thanks Sarah Boyce and Jacob Walls for reviews. Co-authored-by: Hrushikesh Vaidya <hrushikeshrv@gmail.com> | |||
| 2026-02-20 | Fixed #36127 -- Applied default empty display value to links otherwise ↵ | SiHyunLee | |
| containing only whitespace in admin. | |||
| 2026-02-10 | Modified tests to format PKs with %s rather than %d. | Tim Graham | |
| It's how Django formats values internally and makes tests compatible with databases that use non-integer primary keys. | |||
| 2026-02-02 | Fixed #36788 -- Fixed horizontal form field alignment under <fieldset> in ↵ | Jacob Walls | |
| the admin. Thanks Antoliny for the review. Regression in 4187da258fe212d494cb578a0bc2b52c4979ab95. | |||
| 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> | |||
| 2025-08-19 | Fixed #35892 -- Supported Widget.use_fieldset in admin forms. | antoliny0919 | |
| 2025-07-30 | Fixed #36511 -- Ensured filters came before table in keyboard navigation in ↵ | antoliny0919 | |
| admin changelist. | |||
| 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. | |||
| 2024-10-31 | Fixed #35876 -- Displayed non-ASCII fieldset names when rendering ↵ | Sarah Boyce | |
| ModelAdmin.fieldsets. Thank you to Namhong Kim for the report, and to Mariusz Felisiak and Marijke Luttekes for the review. Regression in 01ed59f753139afb514170ee7f7384c155ecbc2d. | |||
| 2024-04-02 | Fixed #35330 -- Fixed the update of related widgets when the referenced ↵ | devin13cox | |
| model is camel case named. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2023-09-16 | Fixed #31558 -- Added support for boolean attribute on properties in ↵ | Ryanwalker277 | |
| ModelAdmin.list_display. | |||
| 2023-09-16 | Fixed #34842 -- Fixed ModelAdmin.readonly_fields crash with GeneratedFields. | Paolo Melchiorre | |
| 2023-03-03 | Fixed #32539 -- Added toggleable facet filters to ModelAdmin. | sarahboyce | |
| Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz Felisiak for reviews. | |||
| 2022-09-28 | Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after ↵ | David Sanders | |
| adding/changing related instances via popups. Regression in c72f6f36c13a21f6db3d4f85d2d3cec87bad45e6. Thanks Alexandre da Silva for the report. | |||
| 2022-04-15 | Fixed #11803 -- Allowed admin select widgets to display new related objects. | mgaligniana | |
| Adjusted admin javascript to add newly created related objects to already loaded select widgets. In this version, applies only where limit_choices_to is not set. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-11-25 | Fixed #33024 -- Fixed height of admin selector boxes in collapsed fieldset. | Shubh1815 | |
| Thanks Tom Carrick for the review. | |||
| 2021-11-16 | Fixed #28357 -- Fixed ModelAdmin.prepopulated_fields on newly added stacked ↵ | Shubh1815 | |
| inline. Thanks Jakob Köhler for the initial patch. | |||
| 2021-09-30 | Fixed #33029 -- Allowed multiple popups for self-related fields in admin. | Yash Jhunjhunwala | |
| 2021-09-18 | Fixed #33077 -- Fixed links to related models for admin's readonly fields in ↵ | Ken Whitesell | |
| custom admin site. | |||
| 2021-04-27 | Refs #32682 -- Renamed use_distinct variable to may_have_duplicates. | Mariusz Felisiak | |
| QuerySet.distinct() is not the only way to avoid duplicate, it's also not preferred. | |||
| 2021-02-26 | Removed unused code in admin_views tests. | Jacob Walls | |
| Unused since its introduction in 7b21bfc0745f92f83a6826a3d3e58797fb74e32 and 1e4ad6f118007547c7e627f1d5bd11bfb2992bf9. | |||
| 2021-02-15 | Fixed #26607 -- Allowed customizing formset kwargs with ↵ | manav014 | |
| ModelAdmin.get_formset_kwargs(). Thanks Nick Pope for reviews. | |||
| 2021-01-13 | Fixed #16117 -- Added decorators for admin action and display functions. | Nick Pope | |
| Refs #25134, #32099. | |||
| 2021-01-12 | Fixed #31747 -- Fixed model enumeration via admin URLs. | Jon Dufresne | |
| Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2020-10-08 | Fixed #31181 -- Added links to related models for admin's readonly fields. | Julien Rebetez | |
| 2020-04-28 | Changed django.forms.ValidationError imports to ↵ | François Freitag | |
| django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 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. | |||
| 2019-11-19 | Fixed #30981 -- Fixed admin changelist crash when using F() or OrderBy() ↵ | Hasan Ramezani | |
| expressions in admin_order_field. | |||
| 2019-11-19 | Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵ | Daniel Izquierdo | |
| deletions while protecting direct ones. | |||
| 2019-06-28 | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | |
| Thanks Claude Paroz for assistance with translations. | |||
| 2019-06-14 | Fixed #12952 -- Adjusted admin log change messages to use form labels ↵ | Sanyam Khurana | |
| instead of field names. | |||
| 2019-04-01 | Fixed #30259 -- Fixed crash of admin views when properties don't have ↵ | Mariusz Felisiak | |
| admin_order_field attribute. | |||
| 2019-03-24 | Fixed #30259 -- Added support for admin_order_field attribute on properties ↵ | Jani Tiainen | |
| in ModelAdmin.list_display. | |||
| 2019-01-16 | Fixed #11154, #22270 -- Made proxy model permissions use correct content type. | Arthur Rio | |
| Co-Authored-By: Simon Charette <charette.s@gmail.com> Co-Authored-By: Antoine Catton <acatton@fusionbox.com> | |||
| 2019-01-02 | Used 4 space hanging indent for dictionaries. | Tim Graham | |
| Thanks Mariusz Felisiak for auditing. | |||
| 2018-12-31 | Updated test URL patterns to use path() and re_path(). | Tim Graham | |
| 2018-11-28 | Fixed #29929 -- Fixed admin view-only change form crash when using ↵ | Basil Dubyk | |
| ModelAdmin.prepopulated_fields. | |||
| 2018-08-20 | Fixed #29682 -- Fixed admin change form crash if a view-only model's form ↵ | Tim Graham | |
| has an extra field. | |||
| 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-05-16 | Fixed #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-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-02-15 | Fixed #27810 -- Allowed query expressions in admin_order_field. | Andreas Pelme | |
| 2018-02-07 | Fixed #25790 -- Allowed disable column sorting in the admin changelist. | Alexander Gaevsky | |
| Thanks Ramiro Morales for completing the patch. | |||
| 2018-01-05 | Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete ↵ | Vasilis Aggelou | |
| selected objects" deletion. | |||
