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
3 lines
73 B
HTML
3 lines
73 B
HTML
{% extends 'inclusion_base.html' %}
|
|
{% block content %}two{% endblock %}
|