change user register api

This commit is contained in:
behruz-dev
2025-08-30 11:53:27 +05:00
parent 7e4ed4cbeb
commit 08e6bf695d
4 changed files with 38 additions and 9 deletions

View File

@@ -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