summaryrefslogtreecommitdiff
path: root/program/templatetags/timeslots.py
diff options
context:
space:
mode:
Diffstat (limited to 'program/templatetags/timeslots.py')
-rw-r--r--program/templatetags/timeslots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/templatetags/timeslots.py b/program/templatetags/timeslots.py
index c2c44b5..08e45b1 100644
--- a/program/templatetags/timeslots.py
+++ b/program/templatetags/timeslots.py
@@ -1,9 +1,9 @@
from django import template
-register = template.Library()
-
from datetime import datetime, time, timedelta
+register = template.Library()
+
@register.simple_tag
def duration(start, end):