mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +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:
parent
2a7c59cd88
commit
a391b17ad2
3 changed files with 31 additions and 2 deletions
|
@ -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
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue