summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2026-04-23Refs #12090 -- Documented parameters for contrib.admin.decorators.action().Sarah Boyce
2026-04-22Fixed #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-03-03Fixed #36887 -- Improved admin changelist layout for object-tools button.Jacob Walls
2026-02-27Fixed #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-16Fixed #36918 -- Removed double spaces and fixed minor grammar issues in docs.$ῗἧḡḥ𝐀丂𝓱м𝑒𝑒𝐓
Co-authored-by: Clifford Gama <cliffygamy@gmail.com>
2025-10-19Refs #36005 -- Bumped minimum supported versions of docutils to 0.22.Mariusz Felisiak
2025-09-17Removed versionadded/changed annotations for 5.2.Jacob Walls
2025-08-28Ensured :doc: role uses absolute targets in docs.Adam Johnson
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-25Refs #36485 -- Removed double spaces after periods in sentences.Natalia
2025-08-25Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵David Smith
docs.
2025-07-30Fixed #36055 -- Prevented overlap of object-tools buttons and page header in ↵antoliny0919
the admin.
2025-05-15Added missing import in docs/ref/contrib/admin/index.txt.antoliny0919
2025-04-04Fixed #36255 -- Renamed the admin action button for improved accessibility.koffi
2025-03-27Fixed #34917 -- Underlined links in the main content area of the admin.antoliny0919
2025-03-04Fixed #36128 -- Clarified auto-generated unique constraint on m2m through ↵Clifford Gama
models.
2025-01-30Fixed #36121 -- Allowed customizing the admin site password change form.Mohammadreza Eskandari
2025-01-15Removed versionadded/changed annotations for 5.1.Sarah Boyce
This also removes remaining versionadded/changed annotations for older versions.
2024-11-14Fixed #35887 -- Added imports and admin.site.register to non-partial admin ↵Alexander Lazarević
inline doc examples.
2024-11-11Fixed #17905 -- Restricted access to model pages in admindocs.sai-ganesh-03
Only users with view or change model permissions can access. Thank you to Sarah Boyce for the review.
2024-11-06Fixed #27409 -- Made admindocs support custom link text in docstrings.sai-ganesh-03
2024-10-30Clarified default behavior when fields and fieldsets are not set on ModelAdmin.aruseni
2024-10-24Fixed #22828 -- Warned that ModelAdmin get hooks return the property itself ↵koresi
rather a copy.
2024-08-08Doc'd that SessionMiddleware is required for the admin site.Jure Cuhalev
The system check "admin.E410" was already checking for this, but the requirement was not listed in docs/ref/contrib/admin/index.txt.
2024-08-05Refs #35380 -- Updated screenshots in admin docs.Natalia
2024-07-15Fixed #35464 -- Updated docs to note fieldsets have limited impact on ↵Maryam Yusuf
TabularInlines.
2024-06-25Optimized admin docs images.Sarah Boyce
2024-06-25Refs #35380 -- Updated screenshots in admin docs.nessita
When listing users, ensure that user first and last name are diverse.
2024-06-18Fixed #35505 -- Added extrabody block to admin/base.html.stefan.ivic
2024-05-22Removed versionadded/changed annotations for 5.0.Natalia
This also removes remaining versionadded/changed annotations for older versions.
2024-05-22Refs #35189 -- Updated ModelAdmin.fieldsets screenshot in admin docs.Natalia
2024-05-22Fixed #35189 -- Improved admin collapsible fieldsets by using <details> ↵Marijke Luttekes
elements. This work improves the accessibility of the add and change pages in the admin site by adding <details> and <summary> elements to the collapsible fieldsets. This has the nice side effect of no longer requiring custom JavaScript helpers to implement the fieldsets' show/hide capabilities. Thanks to James Scholes for the accessibility advice, and to Sarah Boyce and Tom Carrick for reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-16Replaced fictional class 'extrapretty' in admin fieldsets docs.Adam Johnson
2024-02-29Fixed typo in docs/ref/contrib/admin/index.txt.kbehlers
2024-02-05Fixed #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>
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2023-11-15Refs #33690 -- Added missing data-theme selector to example in theming ↵William Hayes
support docs.
2023-09-18Removed versionadded/changed annotations for 4.2.Mariusz Felisiak
This also removes remaining versionadded/changed annotations for older versions.
2023-09-18Fixed #34560 -- Updated admin's jQuery to 3.7.1.Mariusz Felisiak
2023-09-16Fixed #31558 -- Added support for boolean attribute on properties in ↵Ryanwalker277
ModelAdmin.list_display.
2023-09-04Refs #34233 -- Bumped minimum supported version of docutils to 0.19.Jacob Walls
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ↵Nick Pope
ChoiceField's choices.
2023-07-14Fixed #34677 -- Made admin password reset templates more consistent.priyank.panchal
2023-07-07Refs #9602 -- Moved AlreadyRegistered/NotRegistered exceptions to ↵Mariusz Felisiak
django.contrib.admin.exceptions.
2023-07-07Fixed #9602 -- Added AdminSite.get_model_admin().Mariusz Felisiak
This allows retrieving an admin class for the given model class without using internal attributes.
2023-06-23Improved style of n-tuple wording in docs and comments.Nick Pope
2023-06-05Fixed #34621 -- Made admin site header render in <div> tag.Howard Cox
This was problematic for screen reader users because they use headings to navigate. Having two <h1> is confusing, and the one in the header wasn’t particularly helpful since it’s the same on all pages.
2023-04-25Replaced docutils link by PyPI reference.Claude Paroz
2023-04-21Added meaningful titles to ..admonition:: directives.Mariusz Felisiak
2023-04-17Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().sarahboyce
Thank you Simon Meers for the initial patch.