diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-20 09:15:37 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-20 09:18:57 -0500 |
| commit | 96984b9b0f1d88f096985a908ee67dc6f2b9a682 (patch) | |
| tree | 60a9cb171f0b7f9f809d0f0f5bc09120d3077fc5 /docs | |
| parent | 4139cb8d35cfcb2beba6a8c629c20016ae84cf18 (diff) | |
Refs #36934, #35972 -- Forwardported release note for tolerating sequences in BuiltinLookup.as_sql().
Instead of cherry-picking a larger changeset (787cc96ef6197d73c7d4ad96f25500910c399603)
and removing changes unsuitable for a backport, a partial backport was applied directly
to stable/6.0.x to resolve #36934, so the release note needs to be forwardported.
Forwardport of f9b820f8ac50aad025949087e660a551691832e4 from stable/6.0.x.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/6.0.3.txt | 4 | ||||
| -rw-r--r-- | docs/releases/6.0.txt | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/6.0.3.txt b/docs/releases/6.0.3.txt index ddd853cd49..1dff197d06 100644 --- a/docs/releases/6.0.3.txt +++ b/docs/releases/6.0.3.txt @@ -11,3 +11,7 @@ Bugfixes * Fixed :exc:`NameError` when inspecting functions making use of deferred annotations in Python 3.14 (:ticket:`36903`). + +* Fixed :exc:`AttributeError` when subclassing builtin lookups and neglecting + to :ref:`override<tuple-for-params>` ``as_sql()`` to accept any sequence + (:ticket:`36934`). diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index bfad64e485..1697a095c9 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -454,6 +454,8 @@ If you haven't dealt with this warning by now, add settings, or ``default_auto_field = 'django.db.models.AutoField'`` to an app's ``AppConfig``, as needed. +.. _tuple-for-params: + Custom ORM expressions should return params as a tuple ------------------------------------------------------ |
