requires the inclusion of "django.contrib.auth" in INSTALLED_APPS
it would be better to use the
AbstractBaseUser of django/contrib/auth/base_user.py as it doesn't require the inclusion and is even the base of AbstractUser, AnonymousUser and an extra UserType is not neccessary.
This also improves the compatibility with 3party user apps
The line in utils/typing.py:
UserType: TypeAlias = Union[AbstractUser, AnonymousUser]
requires the inclusion of "django.contrib.auth" in INSTALLED_APPS
it would be better to use the
AbstractBaseUser of django/contrib/auth/base_user.py as it doesn't require the inclusion and is even the base of AbstractUser, AnonymousUser and an extra UserType is not neccessary.
This also improves the compatibility with 3party user apps