Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

replace None with TEMPLATE_STRING_IF_INVALID to be consistent with no…

…rmal variable resolving for smartif.
  • Loading branch information...
commit 3782fc5862578951b7a6eb1eb97dca3a63267d44 1 parent 28e4245
Florian Apolloner authored May 29, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/template/defaulttags.py
2  django/template/defaulttags.py
@@ -813,7 +813,7 @@ def display(self):
813 813
         return self.text
814 814
 
815 815
     def eval(self, context):
816  
-        return self.value.resolve(context, ignore_failures=True)
  816
+        return self.value.resolve(context, ignore_failures=False)
817 817
 
818 818
 class TemplateIfParser(IfParser):
819 819
     error_class = TemplateSyntaxError

0 notes on commit 3782fc5

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