Fix pk for client edit view – int doesn't work if it starts with 0
This commit is contained in:
parent
cb340d2d2f
commit
3333a5334e
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,6 @@ urlpatterns = [
|
|||
path("authorizations/data/", AuthorizationLogDataView.as_view(), name="authorization_log_data"),
|
||||
path("apps/", ClientView.as_view(), name="client_list"),
|
||||
path("apps/data/", ClientDataView.as_view(), name="client_list_data"),
|
||||
path("apps/<int:pk>/edit/", ClientEditView.as_view(), name="client_edit"),
|
||||
path("apps/<str:pk>/edit/", ClientEditView.as_view(), name="client_edit"),
|
||||
path("apps/new/", ClientCreateView.as_view(), name="client_create"),
|
||||
]
|
Loading…
Reference in a new issue