1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
from typing import Any, TypeVar
from django.contrib import admin
from django.contrib.auth.models import AbstractUser, Group
from django.http.request import HttpRequest
from django.http.response import HttpResponse
_AbstractUserT = TypeVar("_AbstractUserT", bound=AbstractUser)
csrf_protect_m: Any
sensitive_post_parameters_m: Any
class GroupAdmin(admin.ModelAdmin[Group]): ...
class UserAdmin(admin.ModelAdmin[_AbstractUserT]):
change_user_password_template: Any
add_fieldsets: Any
add_form: Any
change_password_form: Any
def user_change_password(self, request: HttpRequest, id: str, form_url: str = ...) -> HttpResponse: ...
|