mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
9 lines
228 B
Python
9 lines
228 B
Python
from django.http.request import HttpRequest
|
|
from django.http.response import HttpResponseForbidden
|
|
|
|
|
|
def csrf_failure(
|
|
request: HttpRequest,
|
|
reason: str = ...,
|
|
template_name: str = ...
|
|
) -> HttpResponseForbidden: ... |