From 2677d72b210d2a87d274ff3187d11c26f446b387 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Sat, 2 Sep 2017 15:47:25 +0300 Subject: [PATCH] fix --- templates/toolbar_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/toolbar_page.html b/templates/toolbar_page.html index f6da72a..58f6d33 100644 --- a/templates/toolbar_page.html +++ b/templates/toolbar_page.html @@ -1,4 +1,4 @@ -{% if pag.count > 1 %} +{% if pag.paginator.num_pages > 1 %} {% load dpagination %}