mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Refs #35738 -- Resolved flake8 linker error
This commit is contained in:
parent
70707e2fc7
commit
05c16e1234
@ -858,8 +858,9 @@ class Variable:
|
||||
|
||||
engine = Engine.get_default()
|
||||
warnings.warn(
|
||||
f"Double-dot lookup (e.g., '{{{{ {var} }}}}') in template {engine.current_template_name}[{self.lineno}] "
|
||||
"is deprecated.",
|
||||
"Double-dot lookup (e.g. '%s') in template %s[%d]"
|
||||
" is deprecated."
|
||||
% (var, engine.current_template_name, self.lineno),
|
||||
RemovedInDjango61Warning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user