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