summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2023-12-07Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary ↵Sarah Boyce
keys. Thanks Joshua Goodwin for the report. Regression in 45ecd9acca9b36093e274f47b6877a5f79108d9e.
2023-12-04Updated translations from Transifex.Natalia
Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x.
2023-12-03Removed unused CSS rules for related widget in RTL.Tom Carrick
2023-12-01Fixed #35001 -- Fixed position of related widget action icons in admin for ↵Tom Carrick
some screen sizes.
2023-12-01Refs #35004 -- Restored the direction of arrows in admin selector boxes for ↵Mariusz Felisiak
RTL languages on mobile screens. Regression in 57c1dd466ff0d41760049d6818e82be9d767c7da.
2023-12-01Refs #35003 -- Corrected "wide" form margins in admin for LTR languages.Tom Carrick
2023-11-30Fixed #34995 -- Improved position of related widget's add link on admin ↵Tom Carrick
pages on small screens. Regression in 1699f8b52ac15f687cc39088401c2641022c71cd. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
2023-11-30Fixed #35003 -- Corrected margins in admin for RTL languages.Tom Carrick
2023-11-30Fixed #35004 -- Corrected the direction of arrows in admin selector boxes ↵Mariusz Felisiak
for RTL languages on small screens. Follow up to 12617fbd859b1244e91bcf182a2fdf356b388821.
2023-11-29Refs #25778 -- Updated some links and references to HTTPS.Adam Johnson
2023-11-27Fixed #34982 -- Fixed admin's read-only password widget and help texts ↵Tom Carrick
alignment for tablet screen size. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2023-11-23Fixed #34994 -- Fixed checkbox layout in admin's change page for narrow ↵Tom Carrick
screen widths. Regression in d687febce5868545f99974d2499a91f81a32fef5.
2023-11-23Fixed #34991 -- Fixed pagination links and input layout in admin's change ↵Tom Carrick
list page when using list_editable. Regression in b4817d20b9e55df30be0b1b2ca8c8bb6d61aab07. Thanks Tom Carrick for the report and fix.
2023-10-31Fixed #34462 -- Made admin log actions in bulk.Akash Kumar Sen
This also deprecates ModelAdmin.log_deletion() and LogEntryManager.log_action().
2023-10-21Fixed #34913 -- Added borders on high contrast mode in the admin.Cheuk Ting Ho
2023-10-19Fixed #34905 -- Corrected admin's main content element rendered in <main> tag.ontowhee
Regression in 91e617c743b21a0ebad01f18623a8b31f6f58500. Thanks Tom Carrick for the report.
2023-10-17Removed unreachable code from ModelAdmin.response_change().Mariana
ModelAdmin.response_add() is always used when _saveasnew is set.
2023-10-11Fixed #12241 -- Preserved query strings when using "Save and continue/add ↵Mariana
another" in admin. Co-authored-by: Grady Yu <gradyy@users.noreply.github.com> Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> Co-authored-by: Matthew Newton <matthewn@berkeley.edu>
2023-09-26Fixed #34835 -- Made admin's changelist filters render in <nav> tag.lstaana
2023-09-21Fixed #34857 -- Made calendar "Cancel" button in admin use color variables.Fabian Braun
2023-09-18Updated source translation catalogs.Natalia
This work includes the updating of the translations catalog for JS files. The catalog was generated with this command: django-admin makemessages -l en --domain=djangojs -i views/templates/i18n_catalog.js The `views/templates/i18n_catalog.js` file had to be ignored because otherwise the command would fail as follows: xgettext: warning: msgid '' is used without plural and with plural. ./views/templates/i18n_catalog.js:52: Here is the occurrence without plural. ./views/templates/i18n_catalog.js:60: Here is the occurrence with plural. Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation. CommandError: errors happened while running msguniq /home/nessita/fellowship/django/django/conf/locale/djangojs.pot:22: context separator <EOT> within string /home/nessita/fellowship/django/django/conf/locale/djangojs.pot:23: context separator <EOT> within string msguniq: found 2 fatal errors Forwardport of c3f890a5803774887fc73a005cba7bf736bb546c from stable/5.0.x.
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-15Fixed #34832 -- Made admin's header content render in <header> tag.Sarah Abderemane
Header tag was changed to <header> get the landmark banner for accessibility.
2023-09-14Fixed #34834 -- Added role="search" to the admin changelist search form.Lemuel Sta Ana
2023-09-14Fixed #34833 -- Made admin's main content render in <main> tag.Sarah Abderemane
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ↵Nick Pope
ChoiceField's choices.
2023-07-18Fixed #34036 -- Improved color contrast in admin light theme.Mariana
Thanks Nimra for the initial patch.
2023-07-17Refs #27471 -- Made admin's filter choice arrows use cursor pointers.Christophe Henry
2023-07-14Fixed #34677 -- Made admin password reset templates more consistent.priyank.panchal
2023-07-10Fixed #34696 -- Updated selection counter in admin changelist on Chrome.Cauê Thenório
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-07-07Fixed #34639 -- Reverted "Fixed #32682 -- Made admin changelist use Exists() ↵Simon Charette
instead of distinct() for preventing duplicates." This reverts commit 187118203197801c6cb72dc8b06b714b23b6dd3d which moved to using Exists() instead due to an overly strict distinct().delete() check added in #32433.
2023-07-06Used AdminSite.is_registered() where appropriate.Mariusz Felisiak
2023-06-21Fixed #34345 -- Added system check for ManyToManyFields with intermediate ↵Hrushikesh
tables in ModelAdmin.filter_horizontal/vertical.
2023-06-19Fixed #34656 -- Fixed unclosed div in admin password change template.Yaser Amiri
Regression in 6991880109e35c879b71b7d9d9c154baeec12b89.
2023-06-12Fixed #34628 -- Improved icons accessibility of related widget wrapper in admin.Nina Menezes
This improves accessibility of icons by making them larger and grayscale (when not selected).
2023-06-11Fixed #34638 -- Fixed admin change list selected row highlight on editable ↵Neeraj Kumar
boolean fields. Regression in 0aa2f16e63887d6053f6fd0da19254fc74c750ae. Thanks Andrei Shabanski for the report.
2023-06-09Fixed #34645 -- Restored alignment for admin date/time timezone warnings.Mariusz Felisiak
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
2023-06-09Fixed #23049 -- Added %a and %A support to Date.strftime.sarahboyce
This enables the admin to display the day as locale's abbreviated/full name if %a/%A is used in the date format.
2023-06-05Fixed #34627 -- Highlighted active row in admin UI when forced-colors mode ↵Nina Menezes
is enabled.
2023-06-05Fixed #34622 -- Improved accessibility of related widget wrapper in admin.Coen van der Kamp
This improves accessibility for screen reader users by adding "aria-disabled" and removing "alt". Thanks Thibaud Colas for the report.
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-06-05Fixed #34601 -- Added field name to check message for ↵nessita
ModelAdmin.readonly_fields. Co-authored-by: Rick van Hattem <wolph@wol.ph>
2023-06-02Fixed #34618 -- Added icon descriptions in "Recent Actions" on the admin index.Nina Menezes
2023-06-01Fixed #34617 -- Enabled user zooming on mobile devices in the admin.Cheuk Ting Ho
2023-05-24Refs #34593 -- Commented that the extra count is necessary in ↵David Sanders
ChangeList.get_results().
2023-05-24Fixed #34592 -- Removed Safari/Chrome workaround for system fonts.minusf
2023-05-18Avoided parallel assignment in template classes.Adam Johnson