1👍
✅
Your index.html
template includes the sales.html
template, and the sales.html
template extends the index.html
template. As a result if you render index.html
or sale.html
, it will get stuck in an infinite loop.
You can remove the part of the {% include 'article/sales.html' %}
index.html
page. The fact that you defined a block that can be filled in by the sales.html
template is sufficient.
Source:stackexchange.com