{% extends "base.html" %} {% load render_table from django_tables2 %} {% load django_tables2 crispy_forms_tags %} {% load model_name %} {% block heading %}{% include "heading.html" %}{%endblock%} {% block content %} {% if object_list %} {% if filter %}

{% crispy filter.form 'bootstrap4' %}
{% endif %} {% render_table table %} {% else %}

There are no objects in the list. Add one now!

{% endif %} {% endblock %}