Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2303 -- Fixed bug in [3269] with regard to True and False spec…

…ial-casing in template system

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit df4331f3e99572e1816576ae1563b452af67ce3a 1 parent 83c6fff
Adrian Holovaty authored July 07, 2006

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/template/__init__.py
4  django/template/__init__.py
@@ -615,9 +615,9 @@ def resolve_variable(path, context):
615 615
     (The example assumes VARIABLE_ATTRIBUTE_SEPARATOR is '.')
616 616
     """
617 617
     if path == 'False':
618  
-        path = False
  618
+        current = False
619 619
     elif path == 'True':
620  
-        path = True
  620
+        current = True
621 621
     elif path[0].isdigit():
622 622
         number_type = '.' in path and float or int
623 623
         try:

0 notes on commit df4331f

Please sign in to comment.
Something went wrong with that request. Please try again.