Files
django-stubs/django-stubs/views/csrf.pyi
2019-02-22 01:50:52 +03:00

8 lines
274 B
Python

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: ...