From e9720631417e95122542d1becc80246b0ae2fdf6 Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Fri, 13 Jan 2017 13:22:52 -0800 Subject: [PATCH] fix model name in admin --- ttadmin/users/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ttadmin/users/models.py b/ttadmin/users/models.py index 5b7d962..14b6f74 100644 --- a/ttadmin/users/models.py +++ b/ttadmin/users/models.py @@ -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)