From 8ede411a81b40ca53362e6788601193c7e56a0cf Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 17 Feb 2025 19:27:21 -0500 Subject: Fixed #36152 -- Deprecated use of "%" in column aliases. Unintentional support existed only on SQLite and Oracle. --- docs/internals/deprecation.txt | 3 +++ docs/releases/6.0.txt | 2 ++ 2 files changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index e6db513dae..fb37d43849 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -28,6 +28,9 @@ details on these changes. * The ``URLIZE_ASSUME_HTTPS`` transitional setting will be removed. +* Using a percent sign in a column alias or annotation will raise + ``ValueError``. + * Support for setting the ``ADMINS`` or ``MANAGERS`` settings to a list of (name, address) tuples will be removed. diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 362ea70ea0..304343256f 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -375,6 +375,8 @@ Miscellaneous ``per_page`` argument of :class:`django.core.paginator.Paginator` and :class:`django.core.paginator.AsyncPaginator` is deprecated. +* Using a percent sign in a column alias or annotation is deprecated. + Features removed in 6.0 ======================= -- cgit v1.3