Ticket #924: 924.1.diff
File 924.1.diff, 608 bytes (added by , 19 years ago) |
---|
-
django/core/template/__init__.py
620 620 except VariableDoesNotExist: 621 621 obj = '' 622 622 for name, arg in filters: 623 obj = registered_filters[name][0](obj, arg) 623 if type(obj) == str: 624 obj = registered_filters[name][0](obj.decode(DEFAULT_CHARSET), arg).encode(DEFAULT_CHARSET) 625 else: 626 obj = registered_filters[name][0](obj, arg) 624 627 return obj 625 628 626 629 class Node: