correct the required fields for user object
Run Tests / Run Tests (push) Successful in 44s
Details
Run Tests / Run Tests (push) Successful in 44s
Details
This commit is contained in:
parent
a054ef0018
commit
ee6d7c26a1
|
@ -86,7 +86,7 @@ class User(AbstractUser):
|
||||||
last_name = models.CharField(max_length=150, blank=False)
|
last_name = models.CharField(max_length=150, blank=False)
|
||||||
|
|
||||||
USERNAME_FIELD = "email"
|
USERNAME_FIELD = "email"
|
||||||
REQUIRED_FIELDS = ["full_name"]
|
REQUIRED_FIELDS = ["first_name", "last_name"]
|
||||||
|
|
||||||
objects = UserManager() # type: ignore
|
objects = UserManager() # type: ignore
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue