Skip to content
Browse files

replace None with TEMPLATE_STRING_IF_INVALID to be consistent with no…

…rmal variable resolving for smartif.
  • Loading branch information...
1 parent 28e4245 commit 3782fc5862578951b7a6eb1eb97dca3a63267d44 @apollo13 committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/template/
2 django/template/
@@ -813,7 +813,7 @@ def display(self):
return self.text
def eval(self, context):
- return self.value.resolve(context, ignore_failures=True)
+ return self.value.resolve(context, ignore_failures=False)
class TemplateIfParser(IfParser):
error_class = TemplateSyntaxError

0 comments on commit 3782fc5

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