summaryrefslogtreecommitdiff
path: root/django/template/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/template/__init__.py')
-rw-r--r--django/template/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py
index e8a4cfc744..a1d1d402d0 100644
--- a/django/template/__init__.py
+++ b/django/template/__init__.py
@@ -615,9 +615,9 @@ def resolve_variable(path, context):
(The example assumes VARIABLE_ATTRIBUTE_SEPARATOR is '.')
"""
if path == 'False':
- path = False
+ current = False
elif path == 'True':
- path = True
+ current = True
elif path[0].isdigit():
number_type = '.' in path and float or int
try: