From fe0473a24a684bb538a780a7ced0c77ad59a12d4 Mon Sep 17 00:00:00 2001 From: James Tauber Date: Wed, 22 Feb 2012 17:37:05 -0500 Subject: [PATCH] fixed coding convention nits --- symposion_project/apps/conference/models.py | 28 ++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/symposion_project/apps/conference/models.py b/symposion_project/apps/conference/models.py index e5e52d3f..a8e3f9c4 100644 --- a/symposion_project/apps/conference/models.py +++ b/symposion_project/apps/conference/models.py @@ -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():