diff --git a/django/template/__init__.py b/django/template/__init__.py index f405e46664..25904dafef 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -422,7 +422,7 @@ class TokenParser(object): i += 1 if i >= len(subject): raise TemplateSyntaxError("Searching for value. Unexpected end of string in column %d: %s" % (i, subject)) - i += 1 + i += 1 return i if i >= len(subject): @@ -811,7 +811,7 @@ class TextNode(Node): def render(self, context): return self.s - + def _render_value_in_context(value, context): """ Converts any value to a string to become part of a rendered template. This