Ticket #5808: django-pickle-filters.patch
File django-pickle-filters.patch, 469 bytes (added by , 17 years ago) |
---|
-
django/template/defaultfilters.py
diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py
a b def stringfilter(func): 28 28 # Include a reference to the real function (used to check original 29 29 # arguments by the template parser). 30 30 _dec._decorated_function = getattr(func, '_decorated_function', func) 31 _dec.__name__ = func.__name__ 31 32 return _dec 32 33 33 34 ###################