mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
first version finished
This commit is contained in:
9
django/views/csrf.pyi
Normal file
9
django/views/csrf.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.http.request import HttpRequest
|
||||
from django.http.response import HttpResponseForbidden
|
||||
|
||||
|
||||
def csrf_failure(
|
||||
request: HttpRequest,
|
||||
reason: str = ...,
|
||||
template_name: str = ...
|
||||
) -> HttpResponseForbidden: ...
|
||||
Reference in New Issue
Block a user