1
0
mirror of https://github.com/django/django.git synced 2025-03-13 10:50:55 +00:00

4988 Commits

Author SHA1 Message Date
antoliny0919
c09bceef68 Fixed #36217 -- Restored pre_save/post_save signal emission via LogEntry.save() for single-object deletion in the admin.
Regression in 40b3975e7d3e1464a733c69171ad7d38f8814280.

Thanks smiling-watermelon for the report.

Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-03-04 10:34:15 +01:00
Chris Muthig
1759c1dbd1 Refs #35444 -- Deprecated contrib.postgres.OrderableAggMixin.
This commit does not create any functional changes, but marks the
existing `OrderableAggMixin` class as deprecated so that developers
using it directly can be made aware of its future removal.
2025-03-03 11:37:00 +01:00
Chris Muthig
4b977a5d72 Fixed #35444 -- Added generic support for Aggregate.order_by.
This moves the behaviors of `order_by` used in Postgres aggregates into
the `Aggregate` class. This allows for creating aggregate functions that
support this behavior across all database engines. This is shown by
moving the `StringAgg` class into the shared `aggregates` module and
adding support for all databases. The Postgres `StringAgg` class is now
a thin wrapper on the new shared `StringAgg` class.

Thank you Simon Charette for the review.
2025-03-03 11:37:00 +01:00
Sarah Boyce
ea1e3703be Added stub release notes and release date for 5.1.7, 5.0.13, and 4.2.20. 2025-02-27 16:03:26 +01:00
Jonathan Ströbele
240421c7c4 Fixed #36186 -- Added forloop.length variable within a template for loop. 2025-02-24 16:25:53 +01:00
enprava
51cab4ad51 Fixed #35705 -- Added Rotate GIS database function to rotate geometries. 2025-02-23 16:20:57 +01:00
Mariusz Felisiak
65c46d6932
Fixed #35358, Refs #35234 -- Renamed _check() methods to check() for constraints. 2025-02-19 20:27:30 +01:00
Simon Charette
c3a23aa02f Fixed #36197 -- Fixed improper many-to-many count() and exists() for non-pk to_field.
Regression in 66e47ac69a7e71cf32eee312d05668d8f1ba24bb.

Thanks mfontana-elem for the report and Sarah for the tests.
2025-02-18 11:43:27 +01:00
Gaël Utard
0d1dd6bba0 Fixed #36191 -- Truncated the overwritten file content in FileSystemStorage. 2025-02-17 14:01:00 +01:00
Simon Charette
2d34ebe49a Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize).
Given there are no longer any internal usages of serialize=True and it
poses a risk to non-test databases integrity it seems appropriate to
deprecate it.
2025-02-16 08:43:42 +01:00
Sarah Boyce
05002c153c Fixed #36182 -- Returned "?" if all parameters are removed in querystring template tag.
Thank you to David Feeley for the report and Natalia Bidart for the review.
2025-02-13 15:49:25 +01:00
Mariusz Felisiak
54a902c6e8 Reverted "Refs #35803 -- Added support for __coveredby GIS lookup on MariaDB 11.7+."
This partly reverts commit 0b7edb9fcdd33d47ec5701b4f9b9553e27a88e95.

MariaDB reverted GIS functions.
2025-02-13 10:38:04 +01:00
Mariusz Felisiak
eb70aafdba Reverted "Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+."
This reverts commit c77573716a58af32ffcfc4fe87ff9e5c97909bd2.

MariaDB reverted GIS functions.
2025-02-13 10:38:04 +01:00
Mariusz Felisiak
17160819f3
Fixed #36105 -- Dropped support for MariaDB 10.5. 2025-02-09 12:57:40 +01:00
Natalia
e2a8f4dac8 Added stub release notes for 5.1.7. 2025-02-05 11:21:09 -03:00
Natalia
294cc965ef Added release date for 5.1.6, 5.0.12, and 4.2.19. 2025-02-05 10:38:24 -03:00
Andrew Harris
5f30fd2358 Refs #36036 -- Added support for GEOSHasM. 2025-02-03 11:34:23 +00:00
nessita
d15454a6e8
Fixed #36140 -- Allowed BaseUserCreationForm to define non required password fields.
Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3.

Thanks buffgecko12 for the report and Sarah Boyce for the review.
2025-02-01 22:49:07 -03:00
nessita
fd3cfd80be
Tweaked docs to avoid reformatting given new black version. 2025-01-30 10:37:14 -03:00
Mohammadreza Eskandari
12b9ef38b3 Fixed #36121 -- Allowed customizing the admin site password change form. 2025-01-30 11:19:05 +00:00
Mariusz Felisiak
d9af197801
Refs #36005 -- Bumped minimum supported versions of 3rd-party packages.
This bumps minimum supported versions of 3rd-party packages to the first
releases to support Python 3.12.
2025-01-28 08:02:13 +01:00
Georgi Yanchev
64b1ac7292 Fixed #24529 -- Allowed double squashing of migrations.
Co-authored-by: Raphael Gaschignard <raphael@rtpg.co>
2025-01-22 10:56:30 +01:00
Mariusz Felisiak
f5772de696 Fixed #36005 -- Dropped support for Python 3.10 and 3.11. 2025-01-20 14:07:28 +01:00
Clifford Gama
c41d6c9bb8 Fixed typos in docs/releases/5.2.txt. 2025-01-16 13:12:51 +01:00
Sarah Boyce
37373d9ae9 Increased the default PBKDF2 iterations for Django 6.0. 2025-01-15 22:28:37 +01:00
Sarah Boyce
17ae61a5d4 Refs #35326 -- Removed FileSystemStorage.OS_OPEN_FLAGS per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
bc3f3031d8 Refs #35405 -- Removed FieldCacheMixin.get_cache_name() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
85750bd2f8 Refs #35234 -- Removed CheckConstraint.check per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
4968f0012e Refs #35058 -- Removed OGRGeometry.coord_dim setter per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
d5fec03dad Refs #35060 -- Removed passing positional arguments to Model.save()/asave() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
8d695bf510 Removed django.contrib.gis.geoip2.GeoIP2.open() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
4104dafdf3 Removed django.contrib.gis.geoip2.GeoIP2.coords() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
f3a2509a54 Refs #34983 -- Removed django.utils.itercompat per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
6c120508b6 Refs #34462 -- Removed ModelAdmin.log_deletion() and LogEntryManager.log_action() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
817bc5800b Refs #33651 -- Removed Prefetch.get_current_queryset() and get_prefetch_queryset() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
55f71b195b Removed ChoicesMeta per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
b4bc393b23 Refs #33817 -- Removed support for cx_Oracle per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
0a0f9b4acc Refs #16055 -- Removed get_joining_columns()/get_reverse_joining_columns() methods per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
9a3f86e960 Refs #34380 -- Changed the URLField default scheme to https and removed FORMS_URLFIELD_ASSUME_HTTPS per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
9cb1ffa67b Refs #35090 -- Removed support for django.urls.register_converter() overriding existing converters per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
1e331911a8 Refs #34609 -- Removed support for calling format_html() without arguments per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
8081557508 Refs #22569 -- Made request required in ModelAdmin.lookup_allowed() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
6b271ef21d Refs #34547 -- Removed DatabaseOperations.field_cast_sql() per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
ba90b76c6e Refs #32339 -- Removed transitional form renderers per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
b5a6c93a18 Refs #34355 -- Removed support for positional arguments in BaseConstraint per deprecation timeline. 2025-01-15 22:28:37 +01:00
Sarah Boyce
9b5ad4056c Added stub release notes for 6.0. 2025-01-15 22:28:37 +01:00
Sarah Boyce
1259509220 Made cosmetic edits to docs/releases/5.2.txt. 2025-01-15 21:11:20 +01:00
Sarah Boyce
9e6e58bad2 Removed empty sections from 5.2 release notes. 2025-01-15 21:11:20 +01:00
Matthias Kestenholz
6a7ee02f59
Fixed #35521 -- Allowed overriding BoundField class on fields, forms and renderers.
Thank you Sarah Boyce, Carlton Gibson, Tim Schilling and Adam Johnson
for reviews.

Co-authored-by: Christophe Henry <contact@c-henry.fr>
Co-authored-by: David Smith <smithdc@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2025-01-15 17:04:26 -03:00
Mariusz Felisiak
b3c5830769 Fixed #36098 -- Fixed validate_ipv6_address()/validate_ipv46_address() crash for non-string values.
Regression in ca2be7724e1244a4cb723de40a070f873c6e94bf.
2025-01-15 13:46:06 -03:00