diff --git a/django/template/__init__.py b/django/template/__init__.py index 7f6056d73c..4cb4f21156 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -204,7 +204,7 @@ class Lexer(object): def create_token(self, token_string, in_tag): """ Convert the given token string into a new Token object and return it. - If tag is True, we are processing something that matched a tag, + If in_tag is True, we are processing something that matched a tag, otherwise it should be treated as a literal string. """ if in_tag: