Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/template/defaulttags.py
2  django/template/defaulttags.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.