mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-08 23:54:44 +00:00
refs #1: Added username field. Not really sure why it was needed, but whatever.
This commit is contained in:
parent
173a12b48f
commit
4f148b6c47
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue