mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-17 09:17:11 +08:00
This reverts commit 8729a74f81.
This commit is contained in:
@@ -31,7 +31,7 @@ class AbstractBaseUser(models.Model):
|
|||||||
def is_anonymous(self) -> Literal[False]: ...
|
def is_anonymous(self) -> Literal[False]: ...
|
||||||
@property
|
@property
|
||||||
def is_authenticated(self) -> Literal[True]: ...
|
def is_authenticated(self) -> Literal[True]: ...
|
||||||
def set_password(self, raw_password: str) -> None: ...
|
def set_password(self, raw_password: Optional[str]) -> None: ...
|
||||||
def check_password(self, raw_password: str) -> bool: ...
|
def check_password(self, raw_password: str) -> bool: ...
|
||||||
def set_unusable_password(self) -> None: ...
|
def set_unusable_password(self) -> None: ...
|
||||||
def has_usable_password(self) -> bool: ...
|
def has_usable_password(self) -> bool: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user