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:
16
django-stubs-generated/views/decorators/http.pyi
Normal file
16
django-stubs-generated/views/decorators/http.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
from typing import Any, Callable, List, Optional
|
||||
|
||||
conditional_page: Any
|
||||
|
||||
def require_http_methods(request_method_list: List[str]) -> Callable: ...
|
||||
|
||||
require_GET: Any
|
||||
require_POST: Any
|
||||
require_safe: Any
|
||||
|
||||
def condition(
|
||||
etag_func: Optional[Callable] = ...,
|
||||
last_modified_func: Optional[Callable] = ...,
|
||||
) -> Callable: ...
|
||||
def etag(etag_func: Callable) -> Callable: ...
|
||||
def last_modified(last_modified_func: Callable) -> Callable: ...
|
||||
Reference in New Issue
Block a user