Skip to content

Commit

Permalink
Merge pull request #114 from uranusjr/timezone-field
Browse files Browse the repository at this point in the history
Replace django-timezones w/ django-timezone-field
  • Loading branch information
paltman committed Sep 8, 2015
2 parents ffd428d + 1b51ef2 commit ff07405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ django-model-utils==2.2
django-reversion==1.8.5
django-sitetree==1.2.1
django-taggit==0.12.2
django-timezones==0.2
django-timezone-field==1.2
django-user-accounts==1.0
easy-thumbnails==2.2
html5lib==0.999
Expand Down
4 changes: 2 additions & 2 deletions symposion/conference/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from django.utils.translation import ugettext_lazy as _
from django.utils.encoding import python_2_unicode_compatible

from timezones.fields import TimeZoneField
from timezone_field import TimeZoneField


CONFERENCE_CACHE = {}
Expand All @@ -22,7 +22,7 @@ class Conference(models.Model):
end_date = models.DateField(_("end date"), null=True, blank=True)

# timezone the conference is in
timezone = TimeZoneField(_("timezone"), blank=True)
timezone = TimeZoneField(blank=True, verbose_name=_("timezone"))

def __str__(self):
return self.title
Expand Down

0 comments on commit ff07405

Please sign in to comment.