1👍
Specifying that my manager is for AbstractUser
seems to have worked:
from django.contrib.auth.models import UserManager, AbstractUser
class MyUserManager(UserManager[AbstractUser]):
...
👤John
Source:stackexchange.com
1👍
Specifying that my manager is for AbstractUser
seems to have worked:
from django.contrib.auth.models import UserManager, AbstractUser
class MyUserManager(UserManager[AbstractUser]):
...