Open macro1 opened 10 years ago
Anyone doing this, correct syntax is without the quotes:
{% block content %}
<p>my content</p>
{% endblock content %}
There is a brief mention of this in the docks: https://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance Scroll to "For extra readability, you can optionally give a name to your {% endblock %} tag."
Example:
I can't seem to find the docs on this.