We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
str
key_prefix
1 parent 3d7a572 commit a7827f9Copy full SHA for a7827f9
django-stubs/views/decorators/cache.pyi
@@ -4,7 +4,7 @@ from typing import Any
4
from . import _ViewFuncT
5
6
def cache_page(
7
- timeout: float | None, *, cache: Any | None = ..., key_prefix: Any | None = ...
+ timeout: float | None, *, cache: Any | None = ..., key_prefix: str | None = ...
8
) -> Callable[[_ViewFuncT], _ViewFuncT]: ...
9
def cache_control(**kwargs: Any) -> Callable[[_ViewFuncT], _ViewFuncT]: ...
10
def never_cache(view_func: _ViewFuncT, /) -> _ViewFuncT: ...
0 commit comments