1
0
mirror of https://github.com/django/django.git synced 2025-01-04 07:26:38 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
Tim Graham
5c63c45512 [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode.
This change:

* Makes the InclusionNode cache-safe by removing render-time side effects
  to its nodelist.
* Ensures the render_context stack is properly scoped and reset by updating
  the render call to use Template.render rather than Nodelist.render.

Backport of 0808ccce38 from master
2015-04-01 13:12:18 -04:00