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
1 changed files with 1 additions and 0 deletions

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