fix model name in admin

pull/1/head
nathaniel smith 2017-01-13 13:22:52 -08:00
parent a23bfe5b5e
commit e972063141
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ SSH_TYPE_CHOICES = (
class Townie(User):
"""Both an almost normal Django User as well as an abstraction over a
system user."""
class Meta:
verbose_name = 'Townie'
verbose_name_plural = 'Townies'
pubkey = TextField(blank=False, null=False)
shell = CharField(max_length=50, default="/bin/bash")
reviewed = BooleanField(default=False)