<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/filtered_relation/tests.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-03-19T16:24:17Z</updated>
<entry>
<title>Fixed #36795 -- Enforced quoting of all database object names.</title>
<updated>2026-03-19T16:24:17Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2026-02-01T21:53:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f05fac88c4699c6d04a8f1ac3328cf6c7bd39228'/>
<id>urn:sha1:f05fac88c4699c6d04a8f1ac3328cf6c7bd39228</id>
<content type='text'>
This ensures all database identifiers are quoted independently of their orign
and most importantly that user provided aliases through annotate() and alias()
which paves the way for dropping the allow list of characters such aliases can
contain.

This will require adjustments to raw SQL interfaces such as RawSQL that might
make reference to ORM managed annotations as these will now be quoted.

The `SQLCompiler.quote_name_unless_alias` method is kept for now as an alias
for the newly introduced `.quote_name` method but will be duly deprecated in
a follow up commit.
</content>
</entry>
<entry>
<title>Relaxed a query ordering assertion in filtered_relation test.</title>
<updated>2026-02-11T10:03:16Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2026-02-11T10:03:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bb7f4f8a734f0f4dccd88e130b1c2ccd68b2d097'/>
<id>urn:sha1:bb7f4f8a734f0f4dccd88e130b1c2ccd68b2d097</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs CVE-2026-1312 -- Raised ValueError when FilteredRelation aliases contain periods.</title>
<updated>2026-02-03T12:56:04Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-01-21T23:00:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=005d60d97c4dfb117503bdb6f2facfcaf9315d84'/>
<id>urn:sha1:005d60d97c4dfb117503bdb6f2facfcaf9315d84</id>
<content type='text'>
This prevents failures at the database layer, given that aliases in the
ON clause are not quoted.

Systematically quoting aliases even in FilteredRelation is tracked in
https://code.djangoproject.com/ticket/36795.
</content>
</entry>
<entry>
<title>Fixed #36442 -- Cloned FilteredRelation before rename_prefix_from_q.</title>
<updated>2025-06-12T06:36:54Z</updated>
<author>
<name>viliam mihalik</name>
<email>viliam.mihalik@smartbase.sk</email>
</author>
<published>2025-06-05T21:53:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bd65e82831304ede92af6e9f0807daa3a874efc0'/>
<id>urn:sha1:bd65e82831304ede92af6e9f0807daa3a874efc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36109 -- Fixed RecursionError when stacking FilteredRelation joins.</title>
<updated>2025-01-27T09:32:19Z</updated>
<author>
<name>Peter DeVita</name>
<email>mewtwo2643@yahoo.com</email>
</author>
<published>2025-01-17T18:22:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8eca4077f60fa0705ecfd9437c9ceaeef7a3808b'/>
<id>urn:sha1:8eca4077f60fa0705ecfd9437c9ceaeef7a3808b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36029 -- Handled implicit exact lookups in condition depth checks for FilteredRelation.</title>
<updated>2025-01-03T07:40:13Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2024-12-29T11:14:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c3a681659c4a982101ffee0d3ef205ac5b310e17'/>
<id>urn:sha1:c3a681659c4a982101ffee0d3ef205ac5b310e17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.</title>
<updated>2024-01-29T19:29:49Z</updated>
<author>
<name>Nicolas Delaby</name>
<email>nicolas.delaby@infarm.com</email>
</author>
<published>2024-01-23T10:51:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=820c5f1bacd41713bd30d8b5fefb66752ff15c4c'/>
<id>urn:sha1:820c5f1bacd41713bd30d8b5fefb66752ff15c4c</id>
<content type='text'>
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
</content>
</entry>
<entry>
<title>Fixed #35050 -- Fixed prefixing field names in FilteredRelation().</title>
<updated>2023-12-23T16:35:13Z</updated>
<author>
<name>David Wobrock</name>
<email>david.wobrock@gmail.com</email>
</author>
<published>2023-12-21T22:20:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=14917c9ae272f47d23401100faa6cefa8e1728bf'/>
<id>urn:sha1:14917c9ae272f47d23401100faa6cefa8e1728bf</id>
<content type='text'>
Thanks Mark Zorn for the report.

Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
</content>
</entry>
<entry>
<title>Fixed #34362 -- Fixed FilteredRelation() crash on conditional expressions.</title>
<updated>2023-08-11T10:32:18Z</updated>
<author>
<name>Francesco Panico</name>
<email>panico.francesco@gmail.com</email>
</author>
<published>2023-03-04T17:59:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=59f475470494ce5b8cbff816b1e5dafcbd10a3a3'/>
<id>urn:sha1:59f475470494ce5b8cbff816b1e5dafcbd10a3a3</id>
<content type='text'>
Thanks zhu for the report and Simon Charette for reviews.
</content>
</entry>
<entry>
<title>Fixed #34731, Refs #34118 -- Replaced assertEquals() with assertEqual() in test_condition_with_func_and_lookup_outside_relation_name().</title>
<updated>2023-07-21T19:18:24Z</updated>
<author>
<name>Michel Alexandre Salim</name>
<email>michel@michel-slm.name</email>
</author>
<published>2023-07-21T19:18:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=62b83889e066b8270854f7560e0498944efd7689'/>
<id>urn:sha1:62b83889e066b8270854f7560e0498944efd7689</id>
<content type='text'>
Signed-off-by: Michel Alexandre Salim &lt;salimma@fedoraproject.org&gt;</content>
</entry>
</feed>
