mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-19 02:15:59 +08:00
move most of the generated files
This commit is contained in:
9
django-stubs/views/csrf.pyi
Normal file
9
django-stubs/views/csrf.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
from django.http.request import HttpRequest
|
||||
from django.http.response import HttpResponseForbidden
|
||||
|
||||
CSRF_FAILURE_TEMPLATE: str
|
||||
CSRF_FAILURE_TEMPLATE_NAME: str
|
||||
|
||||
def csrf_failure(request: HttpRequest, reason: str = ..., template_name: str = ...) -> HttpResponseForbidden: ...
|
||||
Reference in New Issue
Block a user