123
This commit is contained in:
1 parent
7cafcacc1f
commit
c864bd7ac0
3 files changed
+50
-28
No files matched your search
@@ -60,7 +60,7 @@ class User(AbstractBaseUser, PermissionsMixin):
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
# last_login = models.DateTimeField(auto_now=True, null=True)
|
||||
# external=models.ForeignKey(DictEmployee,db_constraint=False, null=True, on_delete=models.PROTECT)
|
||||
objects = UserManager()
|
||||
# objects = UserManager()
|
||||
USERNAME_FIELD = 'username'
|
||||
# REQUIRED_FIELDS = ['username']
|
||||
def __str__(self):
|
||||
|
||||
Reference in new issue
Block a user