Permalink
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...
1 parent 59c66d0 commit e3e5e32445a8103d9e0474079a20f58a864f26ed @brosner committed May 31, 2008
Showing with 1 addition and 12 deletions.
  1. +0 −11 timezones/templatetags/__init__.py
  2. +1 −1 timezones/templatetags/timezone_filters.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)
@@ -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.