From 340ba6f85580f9c603e2da665e65dfeedc300596 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 17:05:24 +0800 Subject: [PATCH] Renamed the view accounts.show to accounts.detail in the accounting application. --- accounting/templates/accounting/account_detail.html | 2 +- accounting/templates/accounting/account_list.html | 2 +- accounting/urls.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/accounting/templates/accounting/account_detail.html b/accounting/templates/accounting/account_detail.html index e33cc27..a0e10f9 100644 --- a/accounting/templates/accounting/account_detail.html +++ b/accounting/templates/accounting/account_detail.html @@ -141,7 +141,7 @@ First written: 2020/8/8
{{ _("Child Accounts:")|force_escape }}
{% for child in account.child_set.all %} - + {{ child }} {% empty %} diff --git a/accounting/templates/accounting/account_list.html b/accounting/templates/accounting/account_list.html index ee07359..eef6fa7 100644 --- a/accounting/templates/accounting/account_list.html +++ b/accounting/templates/accounting/account_list.html @@ -67,7 +67,7 @@ First written: 2020/8/7 {% endif %} - + {{ _("View")|force_escape }} diff --git a/accounting/urls.py b/accounting/urls.py index fb77042..ee05e39 100644 --- a/accounting/urls.py +++ b/accounting/urls.py @@ -101,7 +101,7 @@ urlpatterns = [ path("accounts/options", views.account_options, name="accounts.options"), path("accounts/", - views.AccountView.as_view(), name="accounts.show"), + views.AccountView.as_view(), name="accounts.detail"), # TODO: To be done path("accounts//edit", mia_core_views.todo, name="accounts.edit"),