mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-20 10:51:16 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
23
django-stubs-generated/views/decorators/csrf.pyi
Normal file
23
django-stubs-generated/views/decorators/csrf.pyi
Normal file
@@ -0,0 +1,23 @@
|
||||
from typing import Any, Callable, Optional
|
||||
|
||||
from django.middleware.csrf import CsrfViewMiddleware
|
||||
|
||||
csrf_protect: Any
|
||||
|
||||
class _EnsureCsrfToken(CsrfViewMiddleware): ...
|
||||
|
||||
requires_csrf_token: Any
|
||||
|
||||
class _EnsureCsrfCookie(CsrfViewMiddleware):
|
||||
get_response: None
|
||||
def process_view(
|
||||
self,
|
||||
request: Any,
|
||||
callback: Any,
|
||||
callback_args: Any,
|
||||
callback_kwargs: Any,
|
||||
): ...
|
||||
|
||||
ensure_csrf_cookie: Any
|
||||
|
||||
def csrf_exempt(view_func: Callable) -> Callable: ...
|
||||
Reference in New Issue
Block a user