summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/6.1.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt
index 1bd4f091aa..56b11deb80 100644
--- a/docs/releases/6.1.txt
+++ b/docs/releases/6.1.txt
@@ -434,6 +434,16 @@ backends.
instead of the JSON ``null`` primitive. This matches the behavior of a
standalone :class:`~django.db.models.JSONField` when storing ``None`` values.
+Models
+------
+
+* SQL ``SELECT`` aliases originating from :meth:`.QuerySet.annotate`
+ calls as well as table and ``JOIN`` aliases are now systematically quoted to
+ prevent special character collisions. Because quoted aliases are
+ case-sensitive, *raw* SQL references to aliases mixing case, such as when
+ using :class:`.RawSQL`, might have to be adjusted to also make use of
+ quoting.
+
System checks
-------------