Skip to content

Commit a7cd620

Browse files
committed
Apply patch for django<1.11
1 parent 7cb7c50 commit a7cd620

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

django_elastipymemcache/memcached.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def __init__(self, server, params):
4444
raise InvalidCacheBackendError(
4545
'Server configuration should be in format IP:port')
4646

47+
# Patch for django<1.11
48+
self._options = self._options or dict()
4749
self._ignore_cluster_errors = self._options.get(
4850
'ignore_exc', False)
4951

0 commit comments

Comments
 (0)