Update models.py

This commit is contained in:
Nukeap committed 2023-09-21 12:44:54 +03:00
1 parent b02fa66f41
commit 7a273360fd
1 file changed
+1
+1
View File
@@ -51,6 +51,7 @@ class UserManager(BaseUserManager):
class User(AbstractBaseUser, PermissionsMixin):
password = models.CharField(max_length=128, null=True,blank=True)
username = models.CharField(db_index=True, max_length=255, unique=True)
is_active = models.BooleanField(default=True)
is_staff = models.BooleanField(default=False)