Simon Charette
ab148c02ce
Fixed #33579 -- Specialized exception raised on forced update failures.
...
Raising DatabaseError directly made it harder than it should to
differentiate between IntegrityError when a forced update resulted in no
affected rows.
Introducing a specialized exception allows for callers to more easily
silence, log, or turn them update failures into user facing exceptions
(e.g. 404s).
Thanks Mariusz for the review.
2025-03-10 21:09:15 +01:00
petr.prikryl
2a5aca38bb
Fixed #35487 -- Removed CASCADE from RemoveField() on PostgreSQL.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Adam Johnson <me@adamj.eu>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-03-09 11:50:17 +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
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
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
Mariusz Felisiak
17160819f3
Fixed #36105 -- Dropped support for MariaDB 10.5.
2025-02-09 12:57:40 +01:00
Andrew Harris
5f30fd2358
Refs #36036 -- Added support for GEOSHasM.
2025-02-03 11:34:23 +00: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
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