fix update user data bug
This commit is contained in:
@@ -7,9 +7,9 @@ from django.db import models
|
||||
|
||||
|
||||
class User(AbstractUser, BaseModel):
|
||||
mobile = models.CharField(max_length=18)
|
||||
mobile = models.CharField(max_length=18, null=True)
|
||||
phone = models.CharField(max_length=18, null=True)
|
||||
national_code = models.CharField(max_length=16)
|
||||
national_code = models.CharField(max_length=16, null=True)
|
||||
birthdate = models.DateTimeField(null=True)
|
||||
nationality = models.CharField(max_length=20, null=True)
|
||||
ownership_types = (
|
||||
|
||||
Reference in New Issue
Block a user