mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
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.
This commit is contained in:
committed by
Tim Graham
parent
4ea1909d3c
commit
0808ccce38
1
tests/template_tests/templates/inclusion_base.html
Normal file
1
tests/template_tests/templates/inclusion_base.html
Normal file
@@ -0,0 +1 @@
|
||||
{% block content %}base{% endblock %}
|
||||
Reference in New Issue
Block a user