change user register api
This commit is contained in:
@@ -8,8 +8,8 @@ from core.apps.accounts.manager import UserManager
|
||||
class User(AbstractUser, BaseModel):
|
||||
full_name = models.CharField(max_length=200)
|
||||
email = models.EmailField(unique=True)
|
||||
passport_id = models.CharField(max_length=20, null=True)
|
||||
pnfl = models.CharField(max_length=20, null=True)
|
||||
passport_id = models.CharField(max_length=20, null=True, blank=True)
|
||||
pnfl = models.CharField(max_length=20, null=True, blank=True)
|
||||
|
||||
first_name = None
|
||||
last_name = None
|
||||
|
||||
Reference in New Issue
Block a user