Permalink
Browse files

Added missing warnings import

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 29642fa commit e6a5e41cdfe71cebe72b14207923d1befc99f994 @freakboy3742 freakboy3742 committed Apr 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/core/cache/backends/memcached.py
View
1 django/core/cache/backends/memcached.py
@@ -128,6 +128,7 @@ def clear(self):
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

0 comments on commit e6a5e41

Please sign in to comment.