Reorder the URL patterns in the accounting application.
This commit is contained in:
parent
f82c4afbfe
commit
dc27293381
@ -95,10 +95,6 @@ urlpatterns = [
|
||||
views.AccountFormView.as_view(), name="accounts.create"),
|
||||
path("accounts/store",
|
||||
views.AccountFormView.as_view(), name="accounts.store"),
|
||||
path("api/accounts",
|
||||
views.api_account_list, name="api.accounts"),
|
||||
path("api/accounts/options",
|
||||
views.api_account_options, name="api.accounts.options"),
|
||||
path("accounts/<account:account>",
|
||||
views.AccountView.as_view(), name="accounts.detail"),
|
||||
path("accounts/<account:account>/edit",
|
||||
@ -107,4 +103,8 @@ urlpatterns = [
|
||||
views.AccountFormView.as_view(), name="accounts.update"),
|
||||
path("accounts/<account:account>/delete",
|
||||
views.account_delete, name="accounts.delete"),
|
||||
path("api/accounts",
|
||||
views.api_account_list, name="api.accounts"),
|
||||
path("api/accounts/options",
|
||||
views.api_account_options, name="api.accounts.options"),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user