2 {% load django_tables2 %}
4 <ul id=
"pagination" class=
"pagination">
5 {% if page_obj.has_previous %}
7 <a href=
"{{ ajax_url }}{% querystring table.prefixed_page_field=table.page.previous_page_number %}">« {% trans
"Previous" %}
</a>
11 {% for page in paginator.page_range %}
12 <li class=
"{% if page == page_obj.number%}active {% endif %}page">
13 <a href=
"{{ ajax_url }}{% querystring table.prefixed_page_field=page %}">{{ page }}
</a>
17 {% if page_obj.has_next %}
19 <a href=
"{{ ajax_url }}{% querystring table.prefixed_page_field=table.page.next_page_number %}">{% trans
"Next" %}
»</a>