Changes between Initial Version and Version 1 of Ticket #36903


Ignore:
Timestamp:
Feb 5, 2026, 6:43:34 AM (3 hours ago)
Author:
93578237
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36903 – Description

    initial v1  
    22https://github.com/django/django/blob/13299a6203f4bc3e5b2552c96a51ff2b15da3c43/django/contrib/auth/__init__.py#L43
    33
     4{{{
     5import typing as t
     6
     7if t.TYPE_CHECKING:
     8    from django.http import HttpRequest
     9
     10    from testproject.models import User as UserModel
     11
     12
     13class AuthenticationBackend(ModelBackend):
     14    def authenticate(
     15        self,
     16        request: HttpRequest | None = None,
     17        username: str | None = None,
     18        password: str | None = None,
     19        **kwargs: t.Any,
     20    ) -> UserModel | None: ...
     21}}}
     22
    423Maybe a new function `signature` should be added to utils/inspect.py
Back to Top