mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-22 03:41:28 +08:00
13 lines
419 B
Python
13 lines
419 B
Python
# Stubs for django.views.csrf (Python 3.6)
|
|
#
|
|
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
|
|
from typing import Any
|
|
|
|
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: ...
|