mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-24 22:57:26 +08:00
fourth iteration
This commit is contained in:
1 parent
c6bceb19f4
commit
8cc446150c
113 files changed
+2285
-9835
No files matched your search
@@ -6,7 +6,7 @@ from django.utils.deprecation import MiddlewareMixin
|
||||
|
||||
|
||||
class UpdateCacheMiddleware(MiddlewareMixin):
|
||||
cache_timeout: Union[float, int] = ...
|
||||
cache_timeout: float = ...
|
||||
key_prefix: str = ...
|
||||
cache_alias: str = ...
|
||||
cache: Union[
|
||||
@@ -36,11 +36,11 @@ class CacheMiddleware(UpdateCacheMiddleware, FetchFromCacheMiddleware):
|
||||
get_response: None = ...
|
||||
key_prefix: str = ...
|
||||
cache_alias: str = ...
|
||||
cache_timeout: Union[float, int] = ...
|
||||
cache_timeout: float = ...
|
||||
cache: django.core.cache.backends.locmem.LocMemCache = ...
|
||||
def __init__(
|
||||
self,
|
||||
get_response: None = ...,
|
||||
cache_timeout: Optional[Union[float, int]] = ...,
|
||||
cache_timeout: Optional[float] = ...,
|
||||
**kwargs: Any
|
||||
) -> None: ...
|
||||
Reference in new issue
Block a user