SOITA/users/managers.py
2021-12-05 15:23:29 +01:00

9 lines
217 B
Python

from django.contrib.auth.base_user import BaseUserManager
from .querysets import UserQuerySet
class UserManager(BaseUserManager):
def get_queryset(self):
return UserQuerySet(self.model, using=self._db)