1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
{% extends "base.html" %}
{% load django_tables2 %}
{% load static %}
{% block extrahead %}
<link href="file:///usr/share/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="{% static 'django_tables2/bootstrap.css' %}" rel="stylesheet" />
{% endblock %}
{% block body %}
<div class="container">
<h1>Multiple tables on a single page using MultiTableMixin</h1>
<p>
Pagination should work independently for each table,
the second table excludes the column 'country'.
</p>
<div class="row">
{% for table in tables %}
<div class="col-lg-12">{% render_table table %}</div>
{% endfor %}
</div>
</div>
{% endblock %}
|