Nicolas Perriault  committed de0f38c

fixed no more used function was called

  • Participants
  • Parent commits c96839a

Comments (0)

Files changed (1)

File cache_utils/

 #coding: utf-8
 from django.core.cache import cache
 from django.utils.functional import wraps
-from cache_utils.utils import _cache_key, _func_info, _func_type, sanitize_memcached_key
+from cache_utils.utils import _cache_key, _func_info, _func_type
 def cached(timeout, group=None):
     """ Caching decorator. Can be applied to function, method or classmethod.
         backend_kwargs = {}
         def get_key(*args, **kwargs):
-            return sanitize_memcached_key(_cache_key(*args, **kwargs))
+            return _cache_key(*args, **kwargs)
     def _cached(func):