Removed the unnecessary context_object_name setting from AccountListView in the accounting application.
This commit is contained in:
parent
f29e939de3
commit
cbd32bf66f
@ -1038,7 +1038,6 @@ def txn_sort(request, date):
|
|||||||
class AccountListView(ListView):
|
class AccountListView(ListView):
|
||||||
"""The view to list the accounts."""
|
"""The view to list the accounts."""
|
||||||
queryset = Account.objects.order_by("code")
|
queryset = Account.objects.order_by("code")
|
||||||
context_object_name = "account_list"
|
|
||||||
|
|
||||||
|
|
||||||
@method_decorator(require_GET, name="dispatch")
|
@method_decorator(require_GET, name="dispatch")
|
||||||
|
Loading…
Reference in New Issue
Block a user