before tehran

This commit is contained in:
mohammad javad fesahat committed 2024-08-24 16:00:11 +03:30
1 parent ef18434b86
commit 43f5dd4594
15 files changed
+193 -32

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ class CUserManager(BaseUserManager):
class CUser(BaseModel, AbstractBaseUser, PermissionsMixin):
username = models.CharField(max_length=50, null=False, blank=False, unique=True)
mobile = models.PositiveBigIntegerField(null=False, blank=False, unique=True)
name_family = models.CharField(max_length=50, null=True, blank=True)
name_family = models.CharField(max_length=100, null=True, blank=True)
is_active = models.BooleanField(default=False)
is_staff = models.BooleanField(default=False)
is_superuser = models.BooleanField(default=False)