Changes between Initial Version and Version 1 of Ticket #36903
- Timestamp:
- Feb 5, 2026, 6:43:34 AM (3 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36903 – Description
initial v1 2 2 https://github.com/django/django/blob/13299a6203f4bc3e5b2552c96a51ff2b15da3c43/django/contrib/auth/__init__.py#L43 3 3 4 {{{ 5 import typing as t 6 7 if t.TYPE_CHECKING: 8 from django.http import HttpRequest 9 10 from testproject.models import User as UserModel 11 12 13 class 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 4 23 Maybe a new function `signature` should be added to utils/inspect.py