From: Radek Czajka Date: Thu, 1 Aug 2013 13:20:26 +0000 (+0200) Subject: One small optimization for a man... X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/024a58f73d6634f20d16bba58a2d0cdb09271150?ds=inline;hp=-c One small optimization for a man... --- 024a58f73d6634f20d16bba58a2d0cdb09271150 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 %}