Skip to content

5.0: Update django.contrib.auth.base_user #2113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions django-stubs/contrib/auth/base_user.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class AbstractBaseUser(models.Model):
def set_unusable_password(self) -> None: ...
def has_usable_password(self) -> bool: ...
def get_session_auth_hash(self) -> str: ...
def get_session_auth_fallback_hash(self) -> str: ...
@classmethod
def get_email_field_name(cls) -> str: ...
@classmethod
Expand Down
2 changes: 0 additions & 2 deletions scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ django.contrib.auth.admin.UserAdmin.fieldsets
django.contrib.auth.admin.UserAdmin.form
django.contrib.auth.admin.UserAdmin.get_form
django.contrib.auth.backends.RemoteUserBackend.authenticate
django.contrib.auth.base_user.AbstractBaseUser.get_session_auth_fallback_hash
django.contrib.auth.base_user.AbstractBaseUser.last_login
django.contrib.auth.base_user.AbstractBaseUser.password
django.contrib.auth.decorators.login_required
Expand All @@ -98,7 +97,6 @@ django.contrib.auth.hashers.reset_hashers
django.contrib.auth.management.commands.createsuperuser.Command.get_input_data
django.contrib.auth.management.commands.createsuperuser.Command.username_is_unique
django.contrib.auth.management.commands.createsuperuser.PASSWORD_FIELD
django.contrib.auth.models.AbstractBaseUser.get_session_auth_fallback_hash
django.contrib.auth.models.AbstractBaseUser.last_login
django.contrib.auth.models.AbstractBaseUser.password
django.contrib.auth.models.AbstractUser.date_joined
Expand Down
Loading