mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-20 02:41:16 +08:00
first version finished
This commit is contained in:
10
django/views/decorators/cache.pyi
Normal file
10
django/views/decorators/cache.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
from typing import (
|
||||
Callable,
|
||||
Union,
|
||||
)
|
||||
|
||||
|
||||
def cache_page(timeout: Union[float, int], *, cache = ..., key_prefix = ...) -> Callable: ...
|
||||
|
||||
|
||||
def never_cache(view_func: Callable) -> Callable: ...
|
||||
Reference in New Issue
Block a user