Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a bad import and removed some accidental code from templatetags…

…/__init__.py.

git-svn-id: https://django-timezones.googlecode.com/svn/trunk@14 86ebb30f-654e-0410-bc0d-7bf82786d749
  • Loading branch information...
commit e3e5e32445a8103d9e0474079a20f58a864f26ed 1 parent 59c66d0
@brosner authored
View
11 timezones/templatetags/__init__.py
@@ -1,11 +0,0 @@
-
-from django.template import Node
-from django.template import Library
-
-from timezones import localtime_for_timezone
-
-register = Library()
-
-def localtime(value, timezone):
- return localtime_for_timezone(value, timezone)
-register.filter("localtime", localtime)
View
2  timezones/templatetags/timezone_filters.py
@@ -2,7 +2,7 @@
from django.template import Node
from django.template import Library
-from timezones import localtime_for_timezone
+from timezones.utils import localtime_for_timezone
register = Library()

0 comments on commit e3e5e32

Please sign in to comment.
Something went wrong with that request. Please try again.