Ticket #3948: template_readable_message_v1.diff
File template_readable_message_v1.diff, 632 bytes (added by , 18 years ago) |
---|
-
django/template/__init__.py
555 555 filters.append( (filter_func,args)) 556 556 upto = match.end() 557 557 if upto != len(token): 558 raise TemplateSyntaxError, "Could not parse the remainder: %s" % token[upto:]558 raise TemplateSyntaxError, "Could not parse '%s' from '%s'" % (token[upto:], token) 559 559 self.var, self.filters = var, filters 560 560 561 561 def resolve(self, context, ignore_failures=False):