mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-30 16:14:25 +08:00
merge with stubgen output
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# 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: ...
|
||||
def csrf_failure(request: HttpRequest, reason: str = ..., template_name: str = ...) -> HttpResponseForbidden: ...
|
||||
|
||||
Reference in New Issue
Block a user