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