diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-12-09 21:27:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-09 21:27:32 +0100 |
| commit | 5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48 (patch) | |
| tree | e1e99006ce06ced4175767998ba684e9dd0ee4b7 /django/core/cache/__init__.py | |
| parent | 2c5d6dc44779448de1497f32c925c96975fae461 (diff) | |
Fixed #32193 -- Deprecated MemcachedCache.
Diffstat (limited to 'django/core/cache/__init__.py')
| -rw-r--r-- | django/core/cache/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/django/core/cache/__init__.py b/django/core/cache/__init__.py index 1da58153f4..05ef3897d0 100644 --- a/django/core/cache/__init__.py +++ b/django/core/cache/__init__.py @@ -50,9 +50,8 @@ cache = ConnectionProxy(caches, DEFAULT_CACHE_ALIAS) def close_caches(**kwargs): - # Some caches -- python-memcached in particular -- need to do a cleanup at the - # end of a request cycle. If not implemented in a particular backend - # cache.close is a no-op + # Some caches need to do a cleanup at the end of a request cycle. If not + # implemented in a particular backend cache.close() is a no-op. for cache in caches.all(): cache.close() |
