1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00

Added missing warnings import

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-04-02 13:46:09 +00:00
parent 29642fa76f
commit e6a5e41cdf

View File

@ -128,6 +128,7 @@ class BaseMemcachedCache(BaseCache):
class CacheClass(BaseMemcachedCache):
def __init__(self, server, params):
import warnings
warnings.warn(
"memcached.CacheClass has been split into memcached.MemcachedCache and memcached.PyLibMCCache. Please update your cache backend setting.",
PendingDeprecationWarning