diff --git a/conservancy/podjango/templatetags/__init__.py b/conservancy/podjango/templatetags/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/conservancy/podjango/templatetags/date_within.py b/conservancy/podjango/templatetags/date_within.py deleted file mode 100644 index f0921170..00000000 --- a/conservancy/podjango/templatetags/date_within.py +++ /dev/null @@ -1,11 +0,0 @@ -from datetime import datetime, timedelta - -from django import template - -register = template.Library() - - -@register.filter -def date_within_past_days(value, arg): - # question: does datetime.now() do a syscall each time is it called? - return value > (datetime.now() - timedelta(days=int(arg)))