Colm O'Connor
37c5b8c07b
Fixed #34093 -- Changed width/height of switch button icons to use rem units in admin.
2022-10-14 06:10:50 +02:00
Mariusz Felisiak
7c884afe5a
Refs #23919 -- Updated obsolete buffer() references to memoryview().
...
Obsolete since 8cdc84726e
.
2022-10-13 19:49:57 +02:00
Rasmus Magnell
c4aac2ac1e
Fixed #34042 -- Improved accessibility of admin's navigation sidebar.
2022-10-12 10:21:17 +02:00
Mariusz Felisiak
da8fa76413
Fixed #34081 -- Reverted "Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template."
...
This reverts commit a69b0e9cfe
.
2022-10-10 13:43:10 +02:00
Mariusz Felisiak
15682cb003
Fixed wrapping of long model names in the admin.
2022-10-10 11:17:02 +02:00
Sarah Boyce
84206607d6
Fixed #32833 -- Fixed ContentTypeManager.get_for_models() crash when using in migrations.
...
Co-authored-by: Heraldo Lucena <23155511+HMaker@users.noreply.github.com>
2022-10-10 08:57:52 +02:00
Shubh1815
7a39a691e1
Fixed #32603 -- Made ModelAdmin.list_editable use transactions.
2022-10-06 20:44:07 +02:00
Jack Linke
344d31c7e9
Fixed #34071 -- Improved error message for Range(Min/Max)ValueValidator.
2022-10-05 09:41:01 +02:00
Mariusz Felisiak
5e0aa362d9
Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers."
...
This reverts 4f8c7fd9d9
and adds
two regression tests:
- test_related_manager_refresh(), and
- test_create_copy_with_m2m().
Thanks joeli for the report.
2022-09-30 18:18:33 +02:00
Paolo Melchiorre
fa3afc5d86
Fixed #34056 -- Updated the list of common passwords for CommonPasswordValidator.
2022-09-28 18:40:05 +02:00
Paolo Melchiorre
10bb21e71e
Improved error message for ASCIIUsernameValidator.
2022-09-28 13:07:03 +02:00
David Sanders
9976f3d4b8
Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after adding/changing related instances via popups.
...
Regression in c72f6f36c1
.
Thanks Alexandre da Silva for the report.
2022-09-28 11:28:01 +02:00
Marcelo Galigniana
67c34c1a37
Completed test coverage for createsuperuser command.
2022-09-27 09:57:16 +02:00
Moshe Nahmias
d938b3b257
Fixed #34040 -- Removed autofocus from admin search box.
2022-09-26 21:06:48 +02:00
Florian Perucki
872b61193b
Refs #34041 -- Added navigation landmark to breadcrumbs in admin.
...
Thanks Thibaud Colas for pair programming.
2022-09-26 08:51:15 +02:00
Mia Bajić
50096a3a7a
Fixed #34037 -- Improved color contrast for close buttons in admin.
2022-09-25 19:48:46 +02:00
Pablousse
2905cbfd06
Fixed #34049 -- Fixed displaying SVGs patterns.
...
Regression in bc7aa2a5e9
.
2022-09-25 19:33:30 +02:00
select-case
f3822d4ab0
Fixed #34026 -- Fixed WKBReader.read() crash on string input.
2022-09-24 17:16:08 +01:00
Florian Perucki
2c7c22f94d
Fixed #34033 -- Improved accessibility of switch button for dark mode in the admin.
...
Bug in bc7aa2a5e9
.
Thanks Thibaud Colas for the report and review.
2022-09-24 14:26:54 +01:00
Michał Pasternak
0f31d10c7c
Fixed #34023 -- Added inline argument to user_deleted_form().
...
This binds the loop variable.
2022-09-24 11:16:20 +01:00
Alexander Kerkum
f88fc72da4
Fixed #34016 -- Fixed QuerySet.values()/values_list() crash on ArrayAgg() and JSONBAgg().
...
Regression in e06dc4571e
.
2022-09-17 19:38:20 +02:00
Jay Patel
a69b0e9cfe
Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template.
2022-09-15 14:33:41 +02:00
Youngkwang Yang
cd11664066
Changed camel case variable to snake case in contrib.admin/auth.
2022-09-15 13:26:55 +02:00
Tom Carrick
0c3981eb50
Used CSS flex and <nav> for ModelAdmin.date_hierarchy.
2022-09-08 13:52:36 +02:00
Gav O'Connor
be63c78760
Fixed #24179 -- Added filtering to selected side of vertical/horizontal filters.
2022-09-06 10:46:58 +02:00
Shai Berger
fdf0f62521
Fixed ReadOnlyPasswordHashWidget's template for RTL languages.
2022-09-01 21:20:15 +02:00
Mariusz Felisiak
974942a750
Fixed #33955 , Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs."
...
This reverts commit 7f3cfaa12b
.
Thanks Tom Carrick and Greg Kaleka for reports.
2022-09-01 21:09:16 +02:00
Swara
12617fbd85
Corrected the direction of arrows in admin selector boxes for RTL languages.
2022-08-31 08:03:39 +02:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
David Wobrock
897f38fabe
Fixed #33927 -- Fixed crash when displaying ArrayField with choices in admin.
2022-08-23 15:51:42 +02:00
Tom Carrick
bd36023100
Used CSS flex for admin's submit row.
2022-08-18 12:29:40 +02:00
Jacob Rief
aed60aee38
Fixed #33930 -- Eased customization of delete_confirmation.html template in the admin.
2022-08-18 10:51:12 +02:00
Carlton Gibson
e1056ed5a2
Refs #33491 -- Split CSS selected-row highlight selectors.
...
Combined selectors break the whole rule where :has() is not supported,
for example on Firefox.
Thanks to Marcelo Galigniana for the report.
2022-08-17 14:18:38 +02:00
Marcelo Galigniana
0aa2f16e63
Fixed #33491 -- Fixed change-list selected row-highlight on cancelled delete.
...
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-17 11:49:34 +02:00
Tom Carrick
d46cc15c51
Fixed #33878 -- Switched to system fonts in CSS.
2022-08-17 10:19:00 +02:00
Tom Carrick
43ddce0aeb
Fixed CSS variable indentation.
...
Matches 4-space indentation used elsewhere in project CSS files.
2022-08-17 10:19:00 +02:00
Claude Paroz
4fcba800b8
Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.
2022-08-12 13:26:35 +02:00
Simon Charette
35911078fa
Replaced Expression.replace_references() with .replace_expressions().
...
The latter allows for more generic use cases beyond the currently
limited ones constraints validation has.
Refs #28333 , #30581 .
2022-08-11 09:53:10 +02:00
Mariusz Felisiak
8533a6af8d
Optimized ExclusionConstraint.validate() a bit.
...
References to excluded fields are omitted in the replacement_map, so
there is no need to replace references before checking for exclusions.
2022-08-11 09:53:10 +02:00
Mariusz Felisiak
fc0942ada4
Used F.replace_references().
...
Follow up to 63884829ac
.
2022-08-11 09:53:10 +02:00
Rust Saiargaliev
8403da3696
Fixed #28975 -- Made PostGIS backend skip extension creation if installed.
2022-08-10 13:42:53 +02:00
David Sanders
e0ae1363ec
Fixed #33905 -- Fixed CheckConstraint() validation on range fields.
...
Bug in 667105877e
.
2022-08-09 20:13:21 +02:00
Mariusz Felisiak
f3a06b06b5
Removed unused InlineAdminForm.ordering_field().
...
Unused since its introduction in a19ed8aea3
.
2022-08-09 09:26:12 +02:00
Fab
0756c61f2a
Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of admin forms."
...
Regression in fe7dbef586
.
2022-08-05 16:38:52 +02:00
Claude Paroz
0638b4e23d
Fixed #33888 -- Fixed get_select2_language() crash with no language activated.
...
Regression in 3079133c73
.
2022-08-03 19:51:25 +02:00
Aarni Koskela
e7afb8a180
Fixed #33886 -- Reallowed using GeoIP2() when GEOS is not installed.
...
Regression in 31bef51d8e
.
2022-08-03 16:55:23 +02:00
Mariusz Felisiak
cb791a2540
Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
2022-08-03 11:42:51 +02:00
Mariusz Felisiak
919e65b21e
Updated translations from Transifex.
...
This also fixes related i18n tests.
Forwardport of a3bab93324
from stable/4.1.x.
Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-03 08:04:34 +02:00
Sarah Abderemane
bc7aa2a5e9
Fixed #33690 -- Added switch button for dark mode in the admin.
2022-08-02 17:14:24 +02:00
Mariusz Felisiak
ab1955a05e
Fixed #33881 -- Added support for database collations to ArrayField(Char/TextFields).
2022-08-02 11:44:26 +02:00