1
0
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:
sanjeevholla26 2024-09-07 10:43:34 +05:30
parent 70707e2fc7
commit 05c16e1234

View File

@ -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,
)