Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BaseBackend.get_user: Relax
user_id
param type (#2121)
In theory, this pk could be anything, given that `AUTH_USER_MODEL` can resolved to any custom model (often a `AbstractBaseUser` subclass.) See also: - https://docs.djangoproject.com/en/5.0/topics/auth/customizing/#substituting-a-custom-user-model - https://github.com/django/django/blob/5.0.4/django/contrib/auth/backends.py
- Loading branch information