@ -124,6 +124,7 @@ def generate_stoken_uid():
class Stoken(models.Model):
id: int
uid = models.CharField(
db_index=True,
unique=True,
@ -20,9 +20,10 @@ class UserManager(DjangoUserManager):
class User(AbstractUser):
username_validator = UnicodeUsernameValidator()
objects = UserManager()
objects: UserManager = UserManager()
username = models.CharField(
_("username"),