diff --git a/django/template/__init__.py b/django/template/__init__.py index 6478636889..7f6056d73c 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -239,7 +239,7 @@ class DebugLexer(Lexer): def create_token(self, token_string, source, in_tag): token = super(DebugLexer, self).create_token(token_string, in_tag) - token.source = source + token.source = self.origin, source return token class Parser(object):