From f946b6597f839b011521bb82c8e3e5cd040e2235 Mon Sep 17 00:00:00 2001 From: Zambom Date: Wed, 4 Jan 2017 18:22:39 -0200 Subject: [PATCH] Adding pagination in manage categories --- categories/templates/categories/list.html | 3 ++- categories/views.py | 2 +- subjects/templates/subjects/list.html | 2 +- subjects/views.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/categories/templates/categories/list.html b/categories/templates/categories/list.html index bb60a86..2b1e83e 100755 --- a/categories/templates/categories/list.html +++ b/categories/templates/categories/list.html @@ -1,6 +1,6 @@ {% extends 'categories/home.html' %} -{% load static i18n permission_tags %} +{% load static i18n pagination %} {% load django_bootstrap_breadcrumbs %} {% block javascript%} @@ -169,6 +169,7 @@ {% endif %} {% endfor %} + {% pagination request paginator page_obj %}