summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2022-10-10Fixed wrapping of long model names in the admin.Mariusz Felisiak
2022-10-06Fixed #32603 -- Made ModelAdmin.list_editable use transactions.Shubh1815
2022-09-28Fixed #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-09-26Fixed #34040 -- Removed autofocus from admin search box.Moshe Nahmias
2022-09-26Refs #34041 -- Added navigation landmark to breadcrumbs in admin.Florian Perucki
Thanks Thibaud Colas for pair programming.
2022-09-25Fixed #34037 -- Improved color contrast for close buttons in admin.Mia Bajić
2022-09-25Fixed #34049 -- Fixed displaying SVGs patterns.Pablousse
Regression in bc7aa2a5e91cf65fc7510edaf1776528c7ad07b4.
2022-09-24Fixed #34033 -- Improved accessibility of switch button for dark mode in the ↵Florian Perucki
admin. Bug in bc7aa2a5e91cf65fc7510edaf1776528c7ad07b4. Thanks Thibaud Colas for the report and review.
2022-09-24Fixed #34023 -- Added inline argument to user_deleted_form().Michał Pasternak
This binds the loop variable.
2022-09-15Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in ↵Jay Patel
admin base template.
2022-09-15Changed camel case variable to snake case in contrib.admin/auth.Youngkwang Yang
2022-09-08Used CSS flex and <nav> for ModelAdmin.date_hierarchy.Tom Carrick
2022-09-06Fixed #24179 -- Added filtering to selected side of vertical/horizontal filters.Gav O'Connor
2022-08-31Corrected the direction of arrows in admin selector boxes for RTL languages.Swara
2022-08-30Refs #30947 -- Changed tuples to lists where appropriate.Alex Morega
2022-08-23Fixed #33927 -- Fixed crash when displaying ArrayField with choices in admin.David Wobrock
2022-08-18Used CSS flex for admin's submit row.Tom Carrick
2022-08-18Fixed #33930 -- Eased customization of delete_confirmation.html template in ↵Jacob Rief
the admin.
2022-08-17Refs #33491 -- Split CSS selected-row highlight selectors.Carlton Gibson
Combined selectors break the whole rule where :has() is not supported, for example on Firefox. Thanks to Marcelo Galigniana for the report.
2022-08-17Fixed #33491 -- Fixed change-list selected row-highlight on cancelled delete.Marcelo Galigniana
Selected rows where not highlighted when returning to the change-list after clicking "No, take me back" on the deletion confirmation page. This commit uses the CSS :has() pseudo-class to apply the highlight without requiring the .selected class, which is added by JavaScript on the click event. Once all supported browsers have :has() available, the .selected selector and the JavaScript to add the class can be removed. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-08-17Fixed #33878 -- Switched to system fonts in CSS.Tom Carrick
2022-08-17Fixed CSS variable indentation.Tom Carrick
Matches 4-space indentation used elsewhere in project CSS files.
2022-08-12Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.Claude Paroz
2022-08-09Removed unused InlineAdminForm.ordering_field().Mariusz Felisiak
Unused since its introduction in a19ed8aea395e8e07164ff7d85bd7dff2f24edca.
2022-08-05Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of ↵Fab
admin forms." Regression in fe7dbef5867c577995f0fc849d8dfdb8f2e6bbfa.
2022-08-03Fixed #33888 -- Fixed get_select2_language() crash with no language activated.Claude Paroz
Regression in 3079133c73f3b8b0e929673b06b62dce1f54be71.
2022-08-03Updated translations from Transifex.Mariusz Felisiak
This also fixes related i18n tests. Forwardport of a3bab9332416f655c6ae0fa306c94f7f52e7398d from stable/4.1.x. Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-02Fixed #33690 -- Added switch button for dark mode in the admin.Sarah Abderemane
2022-07-28Fixed #33726 -- Added skip-link to admin for keyboard navigation.Marcelo Galigniana
2022-07-27Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects.Nick Pope
Node.create() which has a compatible signature with Node.__init__() takes in a single `children` argument rather than relying in unpacking *args in Q.__init__() which calls Node.__init__(). In addition, we were often needing to unpack iterables into *args and can instead pass a list direct to Node.create().
2022-07-25Simplified various built-in templates.Nick Pope
- Using the {% plural %} tag. - Using the |yesno filter. - Using the |unordered_list filter. - Unnesting {% if %} where not required. - Not duplicating {% if %}.
2022-07-25Fixed typo in django/contrib/admin/options.py comment.Ikko Ashimine
2022-07-23Fixed #33864 -- Deprecated length_is template filter.Nick Pope
2022-07-20Fixed #33833 -- Corrected .closelink admin CSS.Leonid Podriz
Co-authored-by: Leonid Podriz <leonidpodriz@pm.me>
2022-07-17Fixed #33728 -- Reordered submit buttons in admin.Alexander Freyr L
Thanks Tom Carrick and Thibaud Colas for reviews.
2022-07-07Fixed #33781 -- Restored alignment for admin split-field timezone warnings.Carlton Gibson
Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785. Refs #33750 and #27207.
2022-06-28Fixed #33805 -- Made admin's many-to-many widgets do not display help text ↵Ankur
for selecting values when allow_multiple_selected is False.
2022-06-22Fixed #33028 -- Used ModelAdmin's opts attribute instead of model._meta.Marcelo Galigniana
2022-06-18Fixed #33784 -- Removed unnecessary format escaping in admin calendar widget.Ankur
Replacements were added in fa0653cd1d791a8bce835e8992cbeab6fd70d0e7 where we created a callback function by concatenating strings. It's unnecessary since d638cdc42acec608c1967f44af6be32a477c239f.
2022-06-01Fixed #33750 -- Fixed timezone warning alignment with help texts.Florian Demmer
Previously help_text was wrapped in a paragraph, but the change to div broke the alignment, refs #27207.
2022-05-21Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not ↵Sankalp
focusable. Regression in d915dd1c5809d7c2bb3679751cd5277571dcd9f7. Follow up to 780473d75625d014cbe9b0acdea40b7a5970d5d8.
2022-05-21Fixed #33727 -- Fixed color contrasts in admin header.Mohammed Y. Alnajdi
2022-05-17Updated source translation catalogs.Mariusz Felisiak
Forward port of d1f1a0168ab8a2556980ec1410512b5f02502da4 from stable/4.1.x.
2022-05-06Fixed #33679 -- Fixed the last inline's id in admin for users without add ↵Daniel Hahler
permissions.
2022-05-03Fixed #33667 -- Used --header-branding-color for branding headers in admin.Hrushikesh Vaidya
2022-04-26Fixed #27471 -- Made admin's filter choices collapsable.Marcelo Galigniana
2022-04-25Refs #2259 -- Disallowed primary keys in ModelAdmin.list_editable.siddhartha-star-dev
Refs #32728.
2022-04-15Fixed #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-04-06Refs #31617 -- Added an id for helptext in admin forms.David Smith
2022-04-06Fixed #33348 -- Changed ↵Baptiste Mispelon
SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset. Instead of taking a response object and a context name for the form/formset, the two methods now take the object directly.