test case as below:
1.base.html
<html>
<body>
{% block t1 %}
ttttttttttttttttttttttttttttt
{% endblock %}
</body>
</html>
2.temp.html
{% block t2 %}
<div>zzzzzzzzzzz</div>
{% endblock %}
3.index.html
{% extends "base.html" %}
{% block t1 %}
kkkkkkkkkkkkkkkkkkkkkk
{% include "temp.html" %}
{% endblock %}
4.other.html
{% extends "index.html" %}
{% block t2 %}
<div>qqqqqqqqqqqqqq</div>
{% endblock %}
then,in the other.html,why I can't change the block t2?
how to implement this extends and modify its included block?
Thanks.
--
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.