diff options
| author | Adam Johnson <me@adamj.eu> | 2026-08-08 22:28:34 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2026-08-10 15:42:03 +0200 |
| commit | b5388a3a80cafcce2e34196d8e81cf5b48eb33bb (patch) | |
| tree | 434be3b98ad15dcc2e724eba5c56376f4061e776 /.github/workflows/python_matrix.yml | |
| parent | c9eb16a87e60c305fb3651459639f647cce498db (diff) | |
Fixed #37257, Refs #35738 -- Prevented double-dot deprecation warnings for template literals.
The deprecation warning for double-dot variable lookups checked
str(filter_expression.var), which for constants is the resolved literal
value rather than a variable lookup. Templates containing string or translated
string literals with two consecutive dots, such as {{ "a..b" }} or
{{ 'a..b'|upper }}, therefore incorrectly raised a RemovedInDjango70Warning.
The check now only applies when the filter expression's variable is a
Variable lookup.
Regression in 5d911f2d2fecc703be91b2b9b28acc59d34b35f3.
Diffstat (limited to '.github/workflows/python_matrix.yml')
0 files changed, 0 insertions, 0 deletions
