mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-23 04:11:29 +08:00
fourth iteration
This commit is contained in:
@@ -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