mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +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 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue