refs #1: Added username field. Not really sure why it was needed, but whatever.

This commit is contained in:
Jason Ward 2017-11-17 12:43:01 -05:00
parent 173a12b48f
commit 4f148b6c47

View file

@ -7,6 +7,7 @@ class User(AbstractBaseUser, PermissionsMixin):
USERNAME_FIELD = 'email'
REQUIRED_FIELDS = ['first_name', 'last_name']
username = models.CharField(max_length=100)
first_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)
email = models.EmailField(unique=True)