Skip to content

Commit

Permalink
Removed backward compatibility of imports.
Browse files Browse the repository at this point in the history
git-svn-id: https://django-timezones.googlecode.com/svn/trunk@37 86ebb30f-654e-0410-bc0d-7bf82786d749
  • Loading branch information
brosner committed Dec 11, 2008
1 parent d702f9a commit b0688da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions timezones/__init__.py
@@ -1,3 +0,0 @@
# for backwards compatability
from timezones.forms import ALL_TIMEZONE_CHOICES
TIMEZONE_CHOICES = ALL_TIMEZONE_CHOICES
2 changes: 1 addition & 1 deletion timezones/forms.py
Expand Up @@ -7,7 +7,7 @@

from timezones.utils import adjust_datetime_to_timezone

ALL_TIMEZONE_CHOICES = TIMEZONE_CHOICES = tuple(zip(pytz.all_timezones, pytz.all_timezones))
ALL_TIMEZONE_CHOICES = tuple(zip(pytz.all_timezones, pytz.all_timezones))
COMMON_TIMEZONE_CHOICES = tuple(zip(pytz.common_timezones, pytz.common_timezones))
PRETTY_TIMEZONE_CHOICES = []
for tz in pytz.common_timezones:
Expand Down

0 comments on commit b0688da

Please sign in to comment.