Hi,
On May 24, 10:58 am, Jonathan Slenders
wrote:
> I guess this is a flaw in the inheritance algorithm, only the most
> outer blocks should be used during the resolving of inheritance.
How else would it work? Think of a block like a function plus the
execution of that function. By placing a ne
Even more confusing, but extremely great to abuse!
base.html
{% block a %}{% endblock %}
{% block b %}{% endblock %}
{% block c %}{% endblock %}
{% block d %}{% endblock %}
{% block e %}{% endblock %}
index.html
{% block a %}
{% block b %}
{% block c %}
{% blo
Hi all,
This seems like a weirdness in template inheritance...
base.html
{% block title %} ... {% endblock %}
{% block content %}... {% endblock %}
index.html
{% extends "base.html" %}
{% block content %}
{% block title %}
some text
{% endblock %}
{% endblock %}
The paragraph is sh