From 8be44ccf5faa3dea112e85a5005db800324ea353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 4 Feb 2023 10:26:28 +0800 Subject: [PATCH] Renamed the is_needed property to is_paged in the Pagination utility. --- .../accounting/include/pagination.html | 2 +- src/accounting/utils/pagination.py | 2 +- tests/test_utils.py | 20 +++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/accounting/templates/accounting/include/pagination.html b/src/accounting/templates/accounting/include/pagination.html index b73a5fd..48389e1 100644 --- a/src/accounting/templates/accounting/include/pagination.html +++ b/src/accounting/templates/accounting/include/pagination.html @@ -19,7 +19,7 @@ pagination.html: The pagination navigation bar. Author: imacat@mail.imacat.idv.tw (imacat) First written: 2023/1/26 #} -{% if pagination.is_needed %} +{% if pagination.is_paged %}