#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.