Files
django-stubs/django-stubs/contrib/auth/admin.pyi
Maxim Kurnikov 5c6be7ad12 Add test to import all modules to check validity of stubs (#56)
* add import_all.test builder

* fix errors

* fix typechecking errors

* fix migrations typechecking
2019-03-25 01:57:34 +03:00

19 lines
527 B
Python

from typing import Any
from django.core.handlers.wsgi import WSGIRequest
from django.http.response import HttpResponse
from django.contrib import admin
csrf_protect_m: Any
sensitive_post_parameters_m: Any
class GroupAdmin(admin.ModelAdmin): ...
class UserAdmin(admin.ModelAdmin):
change_user_password_template: Any = ...
add_fieldsets: Any = ...
add_form: Any = ...
change_password_form: Any = ...
def user_change_password(self, request: WSGIRequest, id: str, form_url: str = ...) -> HttpResponse: ...