changeset 9442 | fbf2287fb2ce |
parent 9402 | 2c48c091b6a2 |
child 9459 | d3016c08b4ae |
--- a/req.py Mon Jan 13 16:08:38 2014 +0100 +++ b/req.py Tue Jan 21 17:01:33 2014 +0100 @@ -241,6 +241,11 @@ - cubes.blog.mycache - etc. """ + warn.warning('[3.19] .get_cache will disappear soon. ' + 'Distributed caching mechanisms are being introduced instead.' + 'Other caching mechanism can be used more reliably ' + 'to the same effect.', + DeprecationWarning) if cachename in CACHE_REGISTRY: cache = CACHE_REGISTRY[cachename] else: