Merge branch 'fresh-start' into sponsorship

This commit is contained in:
James Tauber 2012-02-22 17:37:16 -05:00
commit e614c907da

View file

@ -12,14 +12,14 @@ class Conference(models.Model):
the full conference for a specific year, e.g. US PyCon 2012.
"""
title = models.CharField(_('title'), max_length=100)
title = models.CharField(_("title"), max_length=100)
# when the conference runs
start_date = models.DateField(_('start date'), null=True, blank=True)
end_date = models.DateField(_('end date'), null=True, blank=True)
start_date = models.DateField(_("start date"), null=True, blank=True)
end_date = models.DateField(_("end date"), null=True, blank=True)
# timezone the conference is in
timezone = TimeZoneField(_('timezone'), blank=True)
timezone = TimeZoneField(_("timezone"), blank=True)
def __unicode__(self):
return self.title
@ -36,10 +36,10 @@ class Conference(models.Model):
del CONFERENCE_CACHE[pk]
except KeyError:
pass
class Meta(object):
verbose_name = _('conference')
verbose_name_plural = _('conferences')
verbose_name = _("conference")
verbose_name_plural = _("conferences")
class Section(models.Model):
@ -49,20 +49,20 @@ class Section(models.Model):
scheduling process.
"""
conference = models.ForeignKey(Conference, verbose_name=_('conference'))
conference = models.ForeignKey(Conference, verbose_name=_("conference"))
name = models.CharField(_('name'), max_length=100)
name = models.CharField(_("name"), max_length=100)
# when the section runs
start_date = models.DateField(_('start date'), null=True, blank=True)
end_date = models.DateField(_('end date'), null=True, blank=True)
start_date = models.DateField(_("start date"), null=True, blank=True)
end_date = models.DateField(_("end date"), null=True, blank=True)
def __unicode__(self):
return self.name
class Meta(object):
verbose_name = _('section')
verbose_name_plural = _('sections')
verbose_name = _("section")
verbose_name_plural = _("sections")
def current_conference():