diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-05-27 20:03:04 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-05-27 20:03:04 (GMT) |
commit | 4a66728a9bbe88704c6e01ec8dd683cdb0a4c0c6 (patch) | |
tree | 9c62c09230aec03187cc13d2ac78d299bd96096b /program/templatetags/timeslots.py | |
parent | a1487772e667436e2274dece86cb40d2e58632a7 (diff) | |
parent | c27b374386463c56f41815869d6209f9a422b858 (diff) |
Merge branch 'master' into stable
Diffstat (limited to 'program/templatetags/timeslots.py')
-rw-r--r-- | program/templatetags/timeslots.py | 4 |
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): |