mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-23 12:21:28 +08:00
move most of the generated files
This commit is contained in:
13
django-stubs/views/decorators/http.pyi
Normal file
13
django-stubs/views/decorators/http.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
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