Remove display_name as required field from User
This commit is contained in:
parent
3313a47c72
commit
8594574ebe
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ class User(AbstractBaseUser):
|
||||||
objects = UserManager()
|
objects = UserManager()
|
||||||
|
|
||||||
USERNAME_FIELD = 'email'
|
USERNAME_FIELD = 'email'
|
||||||
REQUIRED_FIELDS = ['display_name']
|
|
||||||
|
|
||||||
def get_full_name(self):
|
def get_full_name(self):
|
||||||
return self.email
|
return self.email
|
||||||
|
|
Loading…
Reference in a new issue