From d038c547b5ce585cbf9ef5bb7e5298f52e4a243b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 26 Dec 2014 11:46:48 -0500 Subject: Removed django.core.cache.get_cache() per deprecation timeline; refs #21012. --- docs/topics/cache.txt | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'docs/topics') diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index d62b9519ee..f638149b95 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -747,21 +747,6 @@ Accessing the cache This object is equivalent to ``caches['default']``. -.. function:: django.core.cache.get_cache(backend, **kwargs) - - .. deprecated:: 1.7 - This function has been deprecated in favor of - :data:`~django.core.cache.caches`. - - Before Django 1.7 this function was the canonical way to obtain a cache - instance. It could also be used to create a new cache instance with a - different configuration. - - >>> from django.core.cache import get_cache - >>> get_cache('default') - >>> get_cache('django.core.cache.backends.memcached.MemcachedCache', LOCATION='127.0.0.2') - >>> get_cache('default', TIMEOUT=300) - Basic usage ----------- -- cgit v1.3