{% extends "base.html" %} {% load django_tables2 %} {% load static %} {% load i18n %} {% block extrahead %} {% endblock %} {% block body %}

Some examples of using django-tables2

Welcome to the django-tables2 example project. Below is a list of different examples using django-tables2.

Basic example of a table

{% render_table table "django_tables2/bootstrap.html" %}

Same table, but responsive (.table-responsive)

{% render_table table "django_tables2/bootstrap-responsive.html" %}
{% endblock %}