mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 14:01:56 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
11
django-stubs-generated/views/csrf.pyi
Normal file
11
django-stubs-generated/views/csrf.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user