Skip to content

Commit e34a5ca

Browse files
committed
Configured the plural form of 2 models.
- Legacy-Id: 11515
1 parent 37161bb commit e34a5ca

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/mailinglists/models.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ class Subscribed(models.Model):
1818
lists = models.ManyToManyField(List)
1919
def __unicode__(self):
2020
return "<Subscribed: %s at %s>" % (self.email, self.time)
21+
class Meta:
22+
verbose_name_plural = "Subscribed"
2123

2224
class Whitelisted(models.Model):
2325
time = models.DateTimeField(auto_now_add=True)
2426
email = models.CharField("Email address", max_length=64, validators=[validate_email])
2527
by = models.ForeignKey(Person)
2628
def __unicode__(self):
2729
return "<Whitelisted: %s at %s>" % (self.email, self.time)
28-
30+
class Meta:
31+
verbose_name_plural = "Whitelisted"
32+

0 commit comments

Comments
 (0)