summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2022-03-25Fixed #7497 -- Allowed overriding the order of apps and models in admin.adontz
2022-03-24Refs #15619 -- Logged out with POST requests in admin.Mariusz Felisiak
2022-03-21Fixed #33592 -- Fixed "View on Site" links in custom admin site.Stefan Wehrmeyer
2022-03-01Fixed #33547 -- Fixed error when rendering invalid inlines with readonly ↵Mariusz Felisiak
fields in admin. Regression in de95c826673be9ea519acc86fd898631d1a11356. Thanks David Glenck for the report.
2022-02-28Fixed #33524 -- Allowed overriding empty_label for ForeignKey in ↵Hrushikesh Vaidya
ModelAdmin.radio_fields.
2022-02-26Fixed #33527 -- Removed unnecessary code in ModelAdmin._changeform_view().Dulalet
Co-authored-by: Daulet1 <d.abduali@thefactory.kz>
2022-02-25Fixed #33267 -- Added link to related item to related widget wrapper in admin.Shubh1815
2022-02-23Fixed #28889 -- Prevented double submission of admin forms.mgaligniana
Added a JavaScript confirm() to catch double-submissions, when the change form has already been submitted. Thanks to Adam Johnson, Claude Paroz, Keryn Knight, and Thibaud Colas for review.
2022-02-23Fixed #33328 -- Transformed formset:added/removed to native JS events.Claude Paroz
2022-02-23Fixed #33434 -- Changed font-size in admin CSS to use rem units.ravi kunwar
2022-02-23Removed unnecessary font-size in admin hr CSS.ravi kunwar
2022-02-18Fixed #33514 -- Added fallbacks to subsequent language codes in Select2 ↵My-Name-Is-Nabil
translations.
2022-02-15Refs #33348 -- Improved messages raised by ↵Baptiste Mispelon
SimpleTestCase.assertFormError()/assertFormsetErrors(). This makes messages use BaseFormSet/BaseForm.__repr__() instead of context, and adds the _assert_form_error() helper.
2022-02-14Refs #33348 -- Made SimpleTestCase.assertFormsetErrors() raise an error when ↵Baptiste Mispelon
form_index is too big.
2022-02-14Refs #33348 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ↵Baptiste Mispelon
raise an error for unbound forms/formsets.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-29Updated translations from Transifex.Claude Paroz
Updated Bulgarian, Czech, German, Uzbek, and Vietnamese translations. Forwardport of 7a1c6533eb72c3e6faa308796ba7f8d7d447d3b9 from stable/4.0.x.
2022-01-29Fixed #33452 -- Fixed admin change-form layout for submit buttons on ↵Mariusz Felisiak
mid-sized displays. Thanks David Smith for reviews.
2022-01-26Fixed wrapping of long messages in the admin.Mariusz Felisiak
2022-01-26Fixed #33407 -- Fixed .radiolist admin CSS.Carlton Gibson
Regression in 5942ab5eb165ee2e759174e297148a40dd855920.
2022-01-22Stopped including type="text/css" attributes for CSS link tags.Claude Paroz
2022-01-13Refs #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Mariusz Felisiak
Regression in 84609b3205905097d7d3038d32e6101f012c0619. Follow up to 4e5bbb6ef2287126badd32842b239f4a8a7394ca. Thanks Sourav Kumar for the report.
2022-01-11Fixed #11715 -- Changed default value of ModelAdmin.actions/inlines to empty ↵Jacob Walls
tuples. This clarifies the intended pattern of overwriting the default value rather than mutating it.
2022-01-11Fixed #13251 -- Made pre/post_delete signals dispatch the origin.mgaligniana
2021-12-30Fixed #33300 -- Ensured hidden elements are not displayed on small screens.Shubh1815
2021-12-29Refs #26872 -- Fixed wrapping of long choices in ModelAdmin.list_filter.Mariusz Felisiak
Regression in 269a76714616fd7ad166a14113f3354bab8d9b65.
2021-12-28Refs #31617 -- Removed redundant title text in filter.html.David Smith
Unnecessary since 269a76714616fd7ad166a14113f3354bab8d9b65. Title text should provide advisory information and should not be the same or very similar to the element text.
2021-12-23Refs #31617 -- Changed dark mode primary-fg to give higher contrast to ↵David Smith
secondary.
2021-12-16Fixed admin CSS for calendar widget for RTL languages.ahmadekhalili
Thanks Theodore Ni and Shai Berger for reviews.
2021-12-15Fixed #33316 -- Added pagination to admin history view.mgaligniana
2021-12-15Refs #33316 -- Moved paginator styles to base.css.mgaligniana
2021-12-15Fixed #16063 -- Adjusted admin changelist searches spanning multi-valued ↵Jacob Walls
relationships. This reduces the likelihood of admin searches issuing queries with excessive joins.
2021-12-08Fixed #19721 -- Allowed admin filters to customize the list separator.Shreya Bamne
2021-12-06Updated translations from Transifex.Mariusz Felisiak
This also fixes related i18n tests. Forwardport of 4c5215ab036aa8fda9cd0148fd034f4d8f7d69d1 from stable/4.0.x Co-authored-by: Claude Paroz <claude@2xlibre.net>
2021-11-29Fixed #32545 -- Improved admin widget for raw_id_fields for UUIDFields.Shubh1815
Co-Authored-By: Jerome Leclanche <jerome@leclan.ch>
2021-11-25Fixed #33024 -- Fixed height of admin selector boxes in collapsed fieldset.Shubh1815
Thanks Tom Carrick for the review.
2021-11-23Fixed #33310 -- Removed unused rule from admin CSS.Álvaro Pelegrina Fernández
Unused since 30e59705fc3e3e9e8370b965af794ad6173bf92b.
2021-11-16Fixed #28357 -- Fixed ModelAdmin.prepopulated_fields on newly added stacked ↵Shubh1815
inline. Thanks Jakob Köhler for the initial patch.
2021-11-03Fixed #32996 -- Cached PathInfos on relations.Keryn Knight
PathInfo values are ostensibly static over the lifetime of the object for which they're requested, so the data can be memoized, quickly amortising the cost over the process' duration.
2021-10-27Fixed #33182 -- Moved admin dark mode vars to separate stylesheet and ↵Matteo Vitali
template block.
2021-10-21Fixed #33211 -- Updated tests for Selenium 4.0.0.Carlton Gibson
Replaced deprecated `find_element[s]_by_*()` usages, in favour of `find_element[s]()` with an explicit `By`.
2021-10-21Refs #33211 -- Added assertCountSeleniumElements() test helper.Carlton Gibson
2021-10-06Fixed #33156 -- Used sessionStorage to preserve quick filter for admin's ↵Maxim Milovanov
navigation sidebar.
2021-09-30Fixed #33029 -- Allowed multiple popups for self-related fields in admin.Yash Jhunjhunwala
2021-09-21Fixed #33083 -- Fixed selecting all items in the admin changelist when ↵Carlton Gibson
actions are both top and bottom. Thanks Benjamin Locher for the report. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
2021-09-21Updated source translation catalogs.Mariusz Felisiak
Forwardport of 5b8cc4ce2679dbf45c257a57a93307201e52e5b6 from stable/4.0.x.
2021-09-21Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() when ↵Hasan Ramezani
editing in admin change view. ModelAdmin.get_inlines() should get an unmutated object when creating formsets during POST request.
2021-09-21Refs #32204 -- Replaced three dots with ellipsis in navigation sidebar template.Mariusz Felisiak
2021-09-21Fixed #33070 -- Fixed loading translations with language subtags in admin's ↵Cleiton Lima
Select2 widget.