Commit cccf011d authored by Daniel W Bond's avatar Daniel W Bond
Browse files

fixed admin pluralization

parent 880c157a
......@@ -50,6 +50,9 @@ class Address(TimeStampedModel):
zip_code = models.IntegerField(max_length=5)
state = models.CharField(max_length=2)
class Meta:
verbose_name_plural = 'addresses'
def __str__(self): # __unicode__ on Python 2
return self.street
......@@ -69,6 +72,9 @@ class Class(TimeStampedModel):
year_in_school = models.CharField(max_length=2,
choices=YEAR_IN_SCHOOL_CHOICES,
default=FRESHMAN)
class Meta:
verbose_name_plural = 'classes'
def __str__(self): # __unicode__ on Python 2
return str(self.year_int)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment