Use block.parent to extend content

This commit is contained in:
Alexandre Iooss 2020-08-23 09:56:42 +02:00
parent e3898d0b1e
commit 1c16d6ef18
2 changed files with 2 additions and 3 deletions

View File

@ -16,8 +16,6 @@
{% endblock %} {% endblock %}
</div> </div>
</div> </div>
{% block extra_content %}{% endblock %}
{% endblock %} {% endblock %}
{% block extrajavascript %} {% block extrajavascript %}

View File

@ -22,7 +22,8 @@
{% crispy form %} {% crispy form %}
{% endblock %} {% endblock %}
{% block extra_content %} {% block content %}
{{ block.super }}
<div id="table"> <div id="table">
{% render_table table %} {% render_table table %}
</div> </div>