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:
committed by
Tim Graham
parent
4ce5c119b5
commit
8688f03eef
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user