From ebb2b80c77e5659f6f38e761221b8217fb913407 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Mon, 4 Jul 2016 19:20:42 -0600 Subject: [PATCH] Get rid of 'Custom' in admin site. --- bikeshop_project/registration/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bikeshop_project/registration/models.py b/bikeshop_project/registration/models.py index 26cad18..c1f6434 100644 --- a/bikeshop_project/registration/models.py +++ b/bikeshop_project/registration/models.py @@ -63,6 +63,10 @@ class CustomUser(AbstractBaseUser, PermissionsMixin): def __str__(self): # __unicode__ on Python 2 return self.email + class Meta: + verbose_name = 'User' + verbose_name_plural = 'Users' + class Member(models.Model): user = models.OneToOneField(CustomUser, on_delete=models.CASCADE, null=True)