{% extends "base.html" %} {% load render_table from django_tables2 %} {% load model_name %} {% block heading %}{% include "heading.html" %}{%endblock%} {% block content %} {% if object_list %} {% render_table table %} {% else %}
There are no objects in the list. Add one now!
{% endif %} {% endblock %}