From 0914a2003b1ad50f1d641709da86c14826bf063b Mon Sep 17 00:00:00 2001 From: Wang Dongxiao Date: Mon, 28 May 2018 21:14:46 +0800 Subject: [PATCH] Added 'caches' to django.core.cache.__all__. --- django/core/cache/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/cache/__init__.py b/django/core/cache/__init__.py index 349ea86480..a6b956fdf2 100644 --- a/django/core/cache/__init__.py +++ b/django/core/cache/__init__.py @@ -22,7 +22,7 @@ from django.core.cache.backends.base import ( from django.utils.module_loading import import_string __all__ = [ - 'cache', 'DEFAULT_CACHE_ALIAS', 'InvalidCacheBackendError', + 'cache', 'caches', 'DEFAULT_CACHE_ALIAS', 'InvalidCacheBackendError', 'CacheKeyWarning', 'BaseCache', ]