[Django] #37257: Spurious `RemovedInDjango70Warning` for template string literals containing ".."

3 views
Skip to first unread message

Django

unread,
Aug 8, 2026, 5:28:05 PM (2 days ago) Aug 8
to django-...@googlegroups.com
#37257: Spurious `RemovedInDjango70Warning` for template string literals containing
".."
-------------------------------------------+------------------------------
Reporter: Adam Johnson | Owner: Adam Johnson
Type: Bug | Status: assigned
Component: Template system | Version: 6.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------------
#35738 deprecated double-dot variable lookups in templates, but the
warning emits a spurious `RemovedInDjango70Warning` for templates whose
variable expression is a **literal** containing two consecutive dots,
like:

{{{
{{ "hello..world" }}
{{ 'a..b'|upper }}
{{ _("a..b") }}
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/37257>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 8, 2026, 5:32:06 PM (2 days ago) Aug 8
to django-...@googlegroups.com
#37257: Spurious `RemovedInDjango70Warning` for template string literals containing
".."
---------------------------------+----------------------------------------
Reporter: Adam Johnson | Owner: Adam Johnson
Type: Bug | Status: assigned
Component: Template system | Version: 6.1
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+----------------------------------------
Changes (by Adam Johnson):

* severity: Normal => Release blocker

--
Ticket URL: <https://code.djangoproject.com/ticket/37257#comment:1>

Django

unread,
7:48 AM (25 minutes ago) 7:48 AM
to django-...@googlegroups.com
#37257: Spurious `RemovedInDjango70Warning` for template string literals containing
".."
---------------------------------+----------------------------------------
Reporter: Adam Johnson | Owner: Adam Johnson
Type: Bug | Status: assigned
Component: Template system | Version: 6.1
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+----------------------------------------
Changes (by Sarah Boyce):

* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/37257#comment:2>

Django

unread,
7:48 AM (24 minutes ago) 7:48 AM
to django-...@googlegroups.com
#37257: Spurious `RemovedInDjango70Warning` for template string literals containing
".."
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Adam
| Johnson
Type: Bug | Status: assigned
Component: Template system | Version: 6.1
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/37257#comment:3>
Reply all
Reply to author
Forward
0 new messages