1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #20945 -- Allowed cache tag to use a specific cache.

This commit is contained in:
Curtis Maloney
2013-10-04 07:36:21 +10:00
committed by Tim Graham
parent 4ce5c119b5
commit 8688f03eef
4 changed files with 85 additions and 4 deletions

View File

@@ -396,6 +396,11 @@ Templates
<naive_vs_aware_datetimes>` ``datetime`` instances performing the expected
rendering.
* The :ttag:`cache` tag will now try to use the cache called
"template_fragments" if it exists and fall back to using the default cache
otherwise. It also now accepts an optional ``using`` keyword argument to
control which cache it uses.
Requests
^^^^^^^^