From 024a58f73d6634f20d16bba58a2d0cdb09271150 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 1 Aug 2013 15:20:26 +0200 Subject: [PATCH 1/1] One small optimization for a man... --- apps/dictionary/templates/dictionary/note_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dictionary/templates/dictionary/note_list.html b/apps/dictionary/templates/dictionary/note_list.html index 097457eda..5bf9e3f4c 100755 --- a/apps/dictionary/templates/dictionary/note_list.html +++ b/apps/dictionary/templates/dictionary/note_list.html @@ -35,7 +35,7 @@ {% blocktrans count object_list.count as c %}{{c}} footnote found{% plural %}{{c}} footnotes found{% endblocktrans %}

-{% if object_list %} +{% if object_list.exists %} {% autopaginate object_list 100 %} {% paginate %} -- 2.20.1