mirror of
https://github.com/django/django.git
synced 2025-01-01 14:06:06 +00:00
5c63c45512
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
2 lines
38 B
HTML
2 lines
38 B
HTML
{% block content %}base{% endblock %}
|