Opened 92 minutes ago
Last modified 88 minutes ago
#37257 assigned Bug
Spurious `RemovedInDjango70Warning` for template string literals containing ".."
| Reported by: | Adam Johnson | Owned by: | Adam Johnson |
|---|---|---|---|
| Component: | Template system | Version: | 6.1 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
#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") }}
Note:
See TracTickets
for help on using tickets.