From cbd32bf66f6637ca134a4c89ffe9fa765b2b626a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 8 Aug 2020 16:12:18 +0800 Subject: [PATCH] Removed the unnecessary context_object_name setting from AccountListView in the accounting application. --- accounting/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/accounting/views.py b/accounting/views.py index 6626d21..16dc54f 100644 --- a/accounting/views.py +++ b/accounting/views.py @@ -1038,7 +1038,6 @@ def txn_sort(request, date): class AccountListView(ListView): """The view to list the accounts.""" queryset = Account.objects.order_by("code") - context_object_name = "account_list" @method_decorator(require_GET, name="dispatch")