diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-05-11 22:04:09 -0400 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-07 14:28:44 +0200 |
| commit | fd569dd45bf0746378faf7f65172497f21ed27f0 (patch) | |
| tree | 4cc680e479396933bdef09fc997c8d245fc377d5 /django/db/models/sql | |
| parent | de7bb7eab84dc53a7117127ad8eec44970efc509 (diff) | |
Fixed #36210, Refs #36181 -- Allowed Subquery usage in further lookups against composite pks.
Follow-up to 8561100425876bde3be4b2a22324655f74ff9609.
Co-authored-by: Simon Charette <charette.s@gmail.com>
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/query.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index dc019df166..df02070fa4 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -242,6 +242,7 @@ class Query(BaseExpression): filter_is_sticky = False subquery = False + contains_subquery = False # SQL-related attributes. # Select and related select clauses are expressions to use in the SELECT |
