mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 08:47:49 +08:00
12 lines
279 B
Python
12 lines
279 B
Python
from typing import Any, Callable, Optional
|
|
|
|
|
|
def cache_page(
|
|
timeout: float,
|
|
*,
|
|
cache: Optional[Any] = ...,
|
|
key_prefix: Optional[Any] = ...
|
|
) -> Callable: ...
|
|
def cache_control(**kwargs: Any) -> Callable: ...
|
|
def never_cache(view_func: Callable) -> Callable: ...
|