fixed coding convention nits
This commit is contained in:
		
							parent
							
								
									05100add88
								
							
						
					
					
						commit
						fe0473a24a
					
				
					 1 changed files with 14 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			@ -38,8 +38,8 @@ class Conference(models.Model):
 | 
			
		|||
            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():
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue