Ticket #16200: return-removed.patch
File return-removed.patch, 585 bytes (added by , 13 years ago) |
---|
-
django/template/defaulttags.py
846 846 847 847 def __init__(self, parser, *args, **kwargs): 848 848 self.template_parser = parser 849 returnsuper(TemplateIfParser, self).__init__(*args, **kwargs)849 super(TemplateIfParser, self).__init__(*args, **kwargs) 850 850 851 851 def create_var(self, value): 852 852 return TemplateLiteral(self.template_parser.compile_filter(value), value)