1212
This commit is contained in:
1 parent
17aacb6387
commit
81071e136b
2 files changed
+1
No files matched your search
@@ -53,6 +53,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)
|
||||
# username2 = models.CharField(db_index=True, null=True, max_length=255, unique=True)
|
||||
is_active = models.BooleanField(default=True)
|
||||
is_staff = models.BooleanField(default=False)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
BIN
Binary file not shown.
Reference in new issue
Block a user