Removed is_safe=True from the smart_date template filter.
This commit is contained in:
1 parent
f8d25412cb
commit
241445bc7a
1 file changed
+1
-1
@@ -28,7 +28,7 @@ from django.utils.translation import gettext
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(is_safe=True)
|
||||
@register.filter
|
||||
def smart_date(value):
|
||||
"""Formats the date for human friendliness.
|
||||
|
||||
|
||||
Reference in new issue
Block a user