summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2023-01-17[4.2.x] Updated source translation catalogs.Mariusz Felisiak
2023-01-04Fixed #33961 -- Updated admin's jQuery to 3.6.3.Mariusz Felisiak
2022-12-20Updated translations from Transifex.Mariusz Felisiak
Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian, Portuguese (Brazil), Russian, Spanish, and Turkmen translations. Forwardport of 46b28bbe151282e9198b719d00f84b48c92606ba from stable/4.1.x.
2022-12-13Fixed #34038 -- Improved color contrast for links in admin.Nimra Aftab
2022-11-30Refs #34095 -- Changed more properties to use rem units in admin CSS.SwastikTripathi
2022-11-22Used CSS flex for form rows.Tom Carrick
2022-11-08Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring.Marco Marra
2022-11-04Refs #34095 -- Changed height of form controls to use rem units in admin.jer
Co-authored-by: ja <ja@ja.com>
2022-10-31Avoided assignment followed by immediate return.Nick Pope
Identified using the following command: $ pcre2grep --line-number --multiline --recursive \ "(?s)(\n +)(\w+) = [^\n]+\1return \2;?$" \ django docs extras js_tests scripts tests
2022-10-31Used more augmented assignment statements.Nick Pope
Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]'
2022-10-31Fixed #34094 -- Corrected margins in admin headers for RTL languages.Francesco Panico
2022-10-18Fixed #34102 -- Limited wrapping long names to admin dashboard.Collin Anderson
Regression in 15682cb0034242fcdfe333cf399d62ab70c3a978.
2022-10-14Fixed #34093 -- Changed width/height of switch button icons to use rem units ↵Colm O'Connor
in admin.
2022-10-12Fixed #34042 -- Improved accessibility of admin's navigation sidebar.Rasmus Magnell
2022-10-10Fixed #34081 -- Reverted "Fixed #33994 -- Corrected position of extrastyle ↵Mariusz Felisiak
and extrahead blocks in admin base template." This reverts commit a69b0e9cfe0af7cd2deaf55c069453c4c4598604.
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.