Ticket #12427: cmemcache.diff
File cmemcache.diff, 649 bytes (added by , 15 years ago) |
---|
-
django/core/cache/backends/memcached.py
4 4 5 5 from django.core.cache.backends.base import BaseCache, InvalidCacheBackendError 6 6 from django.utils.encoding import smart_unicode, smart_str 7 from warnings import warn 7 8 8 9 try: 9 10 import cmemcache as memcache 11 warn("The 'cmemcache' library is deprecated. Please use python-memcached instead.", 12 PendingDeprecationWarning) 10 13 except ImportError: 11 14 try: 12 15 import memcache