summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2024-06-27Fixed #35564 -- Improved readability of subclass identification.Jaap Roes
2024-06-25Fixed #35558 -- Increased inline H3 headers color prominence in admin change ↵Sarah Boyce
page.
2024-06-25Fixed #35540 -- Fixed the padding on admin login page.arjunomray
2024-06-20Refs #35404 -- Fixed padding of admin fieldset checkbox label.Vaarun Sinha
2024-06-18Fixed #35505 -- Added extrabody block to admin/base.html.stefan.ivic
2024-06-12Fixed #34789 -- Prevented updateRelatedSelectsOptions fromDevin Cox
adding entries to filter_horizontal chosen box. Co-authored-by: yokeshwaran1 <yokesh440@yahoo.com>
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
This work should not generate any change of functionality, and `urlsplit` is approximately 6x faster. Most use cases of `urlparse` didn't touch the path, so they can be converted to `urlsplit` without any issue. Most of those which do use `.path`, simply parse the URL, mutate the querystring, then put them back together, which is also fine (so long as urlunsplit is used).
2024-05-22Updated source translation catalogs.Natalia
Forwardport of 3af9c11b3b12729be26ef9da9cc32276a032d3cd from stable/5.1.x.
2024-05-22Fixed #35393 -- Added excluded pk as a hidden field to the inline admin.Willem Van Onsem
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
Co-authored-by: Adam Johnson <me@adamj.eu> Co-authored-by: Mehmet İnce <mehmet@mehmetince.net> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-22Refs #35189 -- Removed no longer necessary JavaScript file collapse.js.Marijke Luttekes
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-22Refs #35189 -- Improved admin fieldset's accessibility by setting ↵Marijke Luttekes
aria-labelledby. Before this change, HTML <fieldset> elements in the admin site did not have an associated label to describe them. This commit defines a unique HTML id for the heading labeling a fieldset, and sets its aria-labelledby property to link the heading with the fieldset.
2024-05-20Refs #35189 -- Moved CSS details' cursor declaration to base.css.Marijke Luttekes
2024-05-10Refs #35404 -- Fixed the line height of admin fieldset labels.minusf
2024-05-06Migrated to ESLint 9+.Mariusz Felisiak
2024-04-24Fixed #35382 -- Removed unused CSS for admin inline fieldsets.0saurabh0
2024-04-19Fixed #35321 -- Prevented Mobile Safari zoom-in on Django admin inputs.Jkhall81
Thanks Simon Willison for the report and Ben Cardy for testing.
2024-04-19Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS class unconditionally ↵Adam Johnson
in Admin.
2024-04-15Fixed #35375 -- Fixed tabular inline admin original line to be on the right ↵Eyal Cherevatsky
in RTL.
2024-04-02Fixed #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>
2024-03-14Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.Johannes Maron
Regression in 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.
2024-02-29Fixed #35198 -- Fixed facet filters crash on querysets with no primary key.Shafiya Adzhani
Thanks Simon Alef for the report. Regression in 868e2fcddae6720d5713924a785339d1665f1bb9.
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
co-authored-by: Keryn Knight <keryn@kerynknight.com> co-authored-by: Natalia <124304+nessita@users.noreply.github.com> co-authored-by: David Smith <smithdc@gmail.com> co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
2024-02-21Fixed #35237 -- Merged system checks for admin actions.Adam Johnson
2024-02-20Fixed #34429 -- Allowed setting unusable passwords for users in the auth forms.Fabian Braun
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-20Fixed #35236 -- Used Field.attname/column attributes instead of ↵Adam Johnson
get_attname()/get_attname_column().
2024-02-20Used <span> instead of <div> in admin theme button.d9pouces
<div> is not allowed as child of <button>.
2024-02-14Fixed #35173 -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign ↵Hisham Mahmood
keys when not included in ModelAdmin.list_filter. Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7. Thanks Sarah Boyce for the review.
2024-02-09Fixed #35145 -- Corrected color scheme of vanilla HTML widgets in admin.Eli
2024-02-05Refs #10743 -- Enabled ordering for lookups in ModelAdmin.list_display.Tom Carrick
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Nina Menezes <https://github.com/nmenezes0>
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-29Updated translations from Transifex.Claude Paroz
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2024-01-24Fixed #35115 -- Made admin's footer render in <footer> tag.Marijke Luttekes
2024-01-19Fixed #34910 -- Improved color contrast for add/change icons in admin.Hisham Mahmood
2024-01-18Fixed #35121 -- Corrected color for links in the admin.Salvo Polizzi
Thanks Collin Anderson for the report. Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.
2024-01-16Fixed #35112 -- Removed previous/next month animation in admin calendar widget.Alexander Lazarević
2024-01-11Refs #28404 -- Made displaying property values in admin respect non-None ↵Alexander Lazarević
empty values.
2024-01-10Fixed #28404 -- Made displaying values in admin respect Field's empty_values.Alexander Lazarević
2024-01-09Fixed #35096 -- Corrected alignment for error lists in admin "wide" forms.Fabian Braun
Regression in be06c39abe80ca650e37810d16d15ff60e8c9727 (LTR) and b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 (RTL).
2024-01-08Fixed #35087 -- Reallowed filtering against foreign keys not listed in ↵Sarah Boyce
ModelAdmin.list_filters. Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7.
2023-12-30Fixed #34670 -- Improved loading of theme in admin.Nicolas Lupien
Thanks Sarah Abderemane for the review.
2023-12-28Fixed #35065 -- Corrected border color for autocomplete fields with errors ↵Rigoberto Villalta
in admin.
2023-12-27Fixed #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-12-22Fixed #35008 -- Added CSS rule for <input> HTML tags with no type.Rapha S
Minifiers remove the default (text) "type" attribute from "input" HTML tags. This adds input:not([type]) to make the CSS stylesheet work the same.
2023-12-15Fixed #34909 -- Associated links in admin navigation sidebar with row ↵Eliana Rosselli
descriptions. This adds aria-describedby attribute to the models' links in the admin navigation sidebar. Thanks Thibaud Colas for the review. Co-authored-by: Dara Silvera <dsilvera@octobot.io>
2023-12-15Refs #34909 -- Made cosmetic edits to admin navigation template.Eliana Rosselli
2023-12-14Used model's Options.model_name instead of object_name.lower().Mariusz Felisiak
Follow up to 20d487c27b40bb70496ddc7419011ca78b7d4940.
2023-12-13Fixed #35012 -- Restored wrapping admin fieldsets with multiple fields per line.Tom Carrick
Thanks James Gillard for the report. Regression in 729266c6f29c7a0677b24926a86a767ef3078b26.