mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #23516 -- Added caching of include tag Template objects
This also speeds up for loops that render the same template multiple times.
This commit is contained in:
committed by
Tim Graham
parent
2a7c59cd88
commit
a391b17ad2
@@ -314,6 +314,9 @@ Templates
|
||||
* The ``timesince`` and ``timeuntil`` filters were improved to deal with leap
|
||||
years when given large time spans.
|
||||
|
||||
* The ``include`` tag now caches parsed templates objects during template
|
||||
rendering, speeding up reuse in places such as for loops.
|
||||
|
||||
Requests and Responses
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user