From 36b0bb3a0e481b5e24ec404ba73501fdeb32c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 18 Feb 2023 18:40:11 +0800 Subject: [PATCH] Revised the import in the "accounting.account.view" module. --- src/accounting/account/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/account/views.py b/src/accounting/account/views.py index 84029f4..aa2161c 100644 --- a/src/accounting/account/views.py +++ b/src/accounting/account/views.py @@ -30,6 +30,7 @@ from accounting.utils.next_url import inherit_next, or_next from accounting.utils.pagination import Pagination from accounting.utils.permission import can_view, has_permission, can_edit from .forms import AccountForm, sort_accounts_in, AccountReorderForm +from .query import get_account_query bp: Blueprint = Blueprint("account", __name__) """The view blueprint for the account management.""" @@ -42,7 +43,6 @@ def list_accounts() -> str: :return: The account list. """ - from .query import get_account_query accounts: list[BaseAccount] = get_account_query() pagination: Pagination = Pagination[BaseAccount](accounts) return render_template("accounting/account/list.html",