mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
10 lines
308 B
Python
10 lines
308 B
Python
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: ...
|