forked from DGNum/gestioCOF
Rename view to fit conventions
This commit is contained in:
parent
f12370a6cd
commit
123e2b84df
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ urlpatterns = [
|
||||||
# Account - Delete
|
# Account - Delete
|
||||||
path(
|
path(
|
||||||
"accounts/<trigramme:trigramme>/delete",
|
"accounts/<trigramme:trigramme>/delete",
|
||||||
views.AccountDeleteView.as_view(),
|
views.AccountDelete.as_view(),
|
||||||
name="kfet.account.delete",
|
name="kfet.account.delete",
|
||||||
),
|
),
|
||||||
# Account - Groups
|
# Account - Groups
|
||||||
|
|
|
@ -472,7 +472,7 @@ def account_update(request, trigramme):
|
||||||
# Account - Delete
|
# Account - Delete
|
||||||
|
|
||||||
|
|
||||||
class AccountDeleteView(PermissionRequiredMixin, DeleteView):
|
class AccountDelete(PermissionRequiredMixin, DeleteView):
|
||||||
model = Account
|
model = Account
|
||||||
slug_field = "trigramme"
|
slug_field = "trigramme"
|
||||||
slug_url_kwarg = "trigramme"
|
slug_url_kwarg = "trigramme"
|
||||||
|
|
Loading…
Reference in a new issue