summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2025-04-01[5.2.x] Fixed #36284, Refs #31170 -- Ensured related lookup popups are ↵nessita
closed properly. In the admin, when selecting related objects via the helpers defined in `RelatedObjectLookups.js`, the `dismissRelatedLookupPopup` function was attempting to access `window.relatedWindows`, which does not exist in real execution, causing related lookup popups to remain open. This change ensures that this code correctly accesses the module-local `relatedWindows` by explicitly assigning it to `window.relatedWindows`. Regression in 91bebf1adb43561b54bac18e76224759dc70acb3. Thanks Matthias Kestenholz for the report, the fix ideas, and testing. Co-authored-by: Matthias Kestenholz <mk@feinheit.ch> Backport of a245604277eb9edeba234dacf199890766462709 from main.
2025-04-01[5.2.x] Fixed #36283 -- Reverted "Fixed #35798, Refs #31641 -- Prevented ↵Mariusz Felisiak
admin navigation sidebar loading flicker." This reverts commit 747b417a220b0412ed806001a383959449aac6da that caused a visual regression when both navigation and filter sidebars are visible. Backport of 12385b4fa7059aab8e4f671853cc09ae8509501f from main.
2025-03-31[5.2.x] Updated translations from Transifex.Sarah Boyce
2025-03-31[5.2.x] Refs #36055 -- Prevented overlap of object-tools buttons and page ↵Mariusz Felisiak
header in the admin on small screens. Visual regression in b1324a680add78de24c763911d0eefa19b9263bc. Backport of 02a5cbfe76382da2a0414df17017185be5bd47f9 from main.
2025-03-28[5.2.x] Refs #34619 -- Fixed labels width in FilteredSelectMultiple in the ↵Mariusz Felisiak
admin. Visual regression in 857b1048d53ebf5fc5581c110e85c212b81ca83a. Backport of a0f50c2a483678d31bd1ad6f08fd3a0b8399e27b from main.
2025-03-26[5.2.x] Refs #34619 -- Corrected selector description in the admin.Mariusz Felisiak
Backport of 0d92428d77fafff373e05dd5a6cdb62bd1dfbda0 from main
2025-03-19[5.2.x] Updated source translation catalogs.Mariusz Felisiak
2025-03-12[5.2.x] Fixed #36234 -- Restored single_object argument to ↵Adam Johnson
LogEntry.objects.log_actions(). Thank you Adam Johnson for the report and fix. Thank you Sarah Boyce for your spot on analysis. Regression in c09bceef68e5abb79accedd12dade16aa6577a09, which is partially reverted in this branch. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of 27b68bcadf1ab2e9f7fd223aed42db352ccdc62d from main.
2025-03-04[5.2.x] Fixed #36217 -- Restored pre_save/post_save signal emission via ↵antoliny0919
LogEntry.save() for single-object deletion in the admin. Regression in 40b3975e7d3e1464a733c69171ad7d38f8814280. Thanks smiling-watermelon for the report. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of c09bceef68e5abb79accedd12dade16aa6577a09 from main.
2025-02-18[5.2.x] Fixed #31170 -- Added change event trigger to dismissRelatedLookupPopup.Кайрат Макым
Backport of 51398f8bd568a6324a8cafe20c068d0974913ad5 from main.
2025-02-18[5.2.x] Refs #31170 -- Added JavaScript tests for RelatedObjectLookups.js.Кайрат Макым
Backport of 91bebf1adb43561b54bac18e76224759dc70acb3 from main.
2025-02-04[5.2.x] Fixed #36069 -- Fixed the delete button position in TabularInlines.antoliny0919
Backport of 1330cb570519170bb4397b4fb02c7e3e0657855a from main.
2025-02-04[5.2.x] Fixed #36055 -- Prevented overlap of object-tools buttons and page ↵antoliny0919
header in the admin. Backport of b1324a680add78de24c763911d0eefa19b9263bc from main.
2025-01-22[5.2.x] Fixed #36114 -- Fixed link visibility when list_display_links field ↵antoliny0919
contains only whitespace. Backport of e262d5355d82901f81fba6c7015643c2b87125bf from main.
2025-01-10Fixed #36032 -- Rendered URLField values as links in the admin.antoliny0919
2025-01-09Fixed #35940 -- Disabled SelectFilter add/remove buttons when appropriate.Brock
2025-01-08Fixed #36063 -- Made a FileField navigate to the object admin change page ↵antoliny0919
when in list_display_links.
2024-11-29Fixed #35925 -- Added CSS gap for FilteredSelectMultiple filter icon.Ayush khatri
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
Thanks Lily Foote and Simon Charette for reviews and mentoring this Google Summer of Code 2024 project. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Lily Foote <code@lilyf.org>
2024-11-29Fixed #35791 -- Updated icon button dimensions to 24x24 pixels.Tainara Palmeira
This is to meet the WCAG 2.5.8 minimum size requirement. Co-authored-by: Eva Nanyonga <evewish@gmail.com>
2024-11-20Fixed #34619 -- Associated FilteredSelectMultiple elements to their label ↵GappleBee
and help text.
2024-11-11Fixed #35903 -- Made admin's "view on site" URL accept non-integer ↵Tim Graham
ContentType pks.
2024-11-07Refs #23968 -- Removed unnecessary list comprehension in contrib.admin.helpers.John Parton
2024-11-05Refs #26001 -- Handled relationship exact lookups in ModelAdmin.search_fields.Sarah Boyce
2024-11-04Fixed #26001 -- Fixed non-string field exact lookups in ↵0saurabh0
ModelAdmin.search_fields.
2024-10-31Fixed #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-10-26Refs #35742 -- Used curly quote in add user form message.Claude Paroz
2024-10-17Fixed #35795 -- Added role="button" to links acting as buttons for screen ↵Jay Patel
readers.
2024-10-08Fixed #35809 -- Set background color for selected rows in the admin's form ↵nessita
select widget. Regression in b47bdb4cd9149ee2a39bf1cc9996a36a940bd7d9. Thank you Giannis Terzopoulos for the review, and Tom Carrick and Sarah Boyce for the review.
2024-10-08Fixed #35798, Refs #31641 -- Prevented admin navigation sidebar loading flicker.Gavin Wahl
Thank you to Mario Munoz and Thibaud Colas for the testing and review.
2024-10-08Fixed #35799 -- Fixed the positioning of the inline admin plus icon for RTL ↵Mario Munoz
languages.
2024-10-08Fixed #35742 -- Removed hardcoded "username" references in admin templates.antoliny0919
2024-10-07Updated translations from Transifex.nessita
Forwardport of e245f62d0052d7b15fa2a60926d59eeeefee9be1 from stable/5.1.x.
2024-10-07Fixed #35804 -- Removed unused rules for ul.tools from admin CSS.aditya.chaudhary1558@gmail.com
2024-09-12Fixed #35755 -- Hid help text of hidden fields in admin fieldsets.Richard Laager
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
2024-09-11Fixed #35747 -- Used default ordering when the ORDER_VAR param is blank in ↵ldeluigi
the admin changelist.
2024-09-03Refs #35706 -- Replaced template _('...') usages with translate tag.sanjeevholla26
2024-09-02Refs #35706 -- Prefixed 'Error:' to titles of admin pages with form errors.sanjeevholla26
This improves the screen reader experience.
2024-08-30Fixed #35716 -- Fixed VariableDoesNotExist when rendering admin fieldsets.Sarah Boyce
Regression in 01ed59f753139afb514170ee7f7384c155ecbc2d. Thank you to Fábio Domingues and Marijke Luttekes for the report, and thank you to Natalia Bidart for the review.
2024-08-20Fixed #35686 -- Added table headers to app list tables for screen readers.Sarah Boyce
2024-08-12Marked missing part of warning footer for translation in SelectFilter2.js.Marc Picaud
2024-08-08Fixed #35622 -- Made unittest ignore Django assertions in traceback frames.Adam Johnson
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-08-07Fixed #35639 -- Improved admin's delete confirmation page title.Matthias Kestenholz
2024-08-07Updated translations from Transifex.Natalia
Forwardport of 380c6e6ddd7890fbe65826873579ef6e3af0c07d from stable/5.1.x.
2024-08-06Fixed CVE-2024-41991 -- Prevented potential ReDoS in ↵Mariusz Felisiak
django.utils.html.urlize() and AdminURLFieldWidget. Thanks Seokchan Yoon for the report. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-08-05Fixed #35628 -- Allowed compatible GeneratedFields for ↵John Parton
ModelAdmin.date_hierarchy.
2024-08-05Fixed #35645, Refs #35558 -- Added "medium" color in the admin CSS to ↵Natalia
improve accessibility of headings.
2024-08-02Fixed #35489 -- Fixed vertical alignment of raw_id_fields widget.Vaarun Sinha
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-07-25Fixed #35331 -- Updated dropdown lists with entries added via the '+' sign ↵Devin Cox
from M2M field.
2024-07-24Fixed #35541 -- Fixed paginator border in admin CSS.arjunomray