{% load i18n %} {# Reusable pagination from a Django Paginator `page_obj`. Preserves the current query string (filters/sort) via the built-in {% querystring %} tag, so it needs `request` in context. Usage: {% include "adminlte/partials/pagination.html" with page_obj=page_obj %} Optional: `align` ("center" default | "start" | "end"). Shows a ±2 window. #} {% if page_obj.paginator.num_pages > 1 %} {% endif %}