diff --git a/scipost_django/common/templatetags/common_extras.py b/scipost_django/common/templatetags/common_extras.py index f01460feed21957a663df42e7f7cdda1604f4d2b..941c5cedc0045f331ec1513c09e3981f10ed9c2c 100644 --- a/scipost_django/common/templatetags/common_extras.py +++ b/scipost_django/common/templatetags/common_extras.py @@ -33,6 +33,11 @@ def rstrip_minutes(text): return text +@register.simple_tag +def equal(a, b): + return a == b + + # Math @register.filter def int_divide(a, b):