{% load static %} {% load render_table from django_tables2 %} {% load bootstrap3 %} django_tables2 with bootstrap template example {% bootstrap_css %}

django_tables2 with bootstrap template example

{% if filter %}
{% bootstrap_form filter.form layout='inline' %} {% bootstrap_button 'filter' %}
{% endif %}
{% render_table table 'django_tables2/bootstrap.html' %}