Commits

Matthew Schinckel committed dc758a4

Forgot templatetag file

Comments (0)

Files changed (1)

timedelta/templatetags/decimal_hours.py

+from django import template
+register = template.Library()
+
+from ..helpers import decimal_hours as dh
+
+@register.filter(name='decimal_hours')
+def decimal_hours(value):
+    return dh(value)