diff options
Diffstat (limited to 'spoken_auth/models.py')
-rw-r--r-- | spoken_auth/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spoken_auth/models.py b/spoken_auth/models.py index 1992ed8..b315b2d 100644 --- a/spoken_auth/models.py +++ b/spoken_auth/models.py @@ -8,6 +8,7 @@ from django.contrib.auth.models import ( class Users(AbstractBaseUser): id = models.IntegerField(primary_key=True) username = models.CharField(max_length=100L, unique=True) + email = models.CharField(max_length=100L, unique=True) USERNAME_FIELD = 'username' class Meta: db_table = 'auth_user' |