mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +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:
parent
29642fa76f
commit
e6a5e41cdf
1
django/core/cache/backends/memcached.py
vendored
1
django/core/cache/backends/memcached.py
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user