This commit is contained in:
Nukeap committed 2023-11-01 09:17:12 +03:00
1 parent 7cafcacc1f
commit c864bd7ac0
3 files changed
+50 -28

No files matched your search

+1 -1
View File
@@ -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):