fix update user data bug

This commit is contained in:
2025-06-15 13:01:21 +03:30
parent 9968447a80
commit d8ca9d2256
5 changed files with 43 additions and 12 deletions

View File

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