Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit e6a5e41cdfe71cebe72b14207923d1befc99f994 1 parent 29642fa
@freakboy3742 freakboy3742 authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.