Update models.py
This commit is contained in:
1 parent
b02fa66f41
commit
7a273360fd
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user