Ticket #8296: 8296.parser.diff
File 8296.parser.diff, 729 bytes (added by , 16 years ago) |
---|
-
django/django/template/__init__.py
253 253 var_node = self.create_variable_node(filter_expression) 254 254 self.extend_nodelist(nodelist, var_node,token) 255 255 elif token.token_type == TOKEN_BLOCK: 256 if token.contents in parse_until:256 if token.contents.split()[0] in parse_until: 257 257 # put token back on token list so calling code knows why it terminated 258 258 self.prepend_token(token) 259 259 return nodelist