admin: fix urls applications and sources
This commit is contained in:
parent
7b6524357f
commit
802d568273
|
@ -33,12 +33,12 @@ urlpatterns = [
|
||||||
name="application-create",
|
name="application-create",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"applications/<uuid:pk>/update/",
|
"applications/<int:pk>/update/",
|
||||||
applications.ApplicationUpdateView.as_view(),
|
applications.ApplicationUpdateView.as_view(),
|
||||||
name="application-update",
|
name="application-update",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"applications/<uuid:pk>/delete/",
|
"applications/<int:pk>/delete/",
|
||||||
applications.ApplicationDeleteView.as_view(),
|
applications.ApplicationDeleteView.as_view(),
|
||||||
name="application-delete",
|
name="application-delete",
|
||||||
),
|
),
|
||||||
|
@ -46,12 +46,12 @@ urlpatterns = [
|
||||||
path("sources/", sources.SourceListView.as_view(), name="sources"),
|
path("sources/", sources.SourceListView.as_view(), name="sources"),
|
||||||
path("sources/create/", sources.SourceCreateView.as_view(), name="source-create"),
|
path("sources/create/", sources.SourceCreateView.as_view(), name="source-create"),
|
||||||
path(
|
path(
|
||||||
"sources/<uuid:pk>/update/",
|
"sources/<int:pk>/update/",
|
||||||
sources.SourceUpdateView.as_view(),
|
sources.SourceUpdateView.as_view(),
|
||||||
name="source-update",
|
name="source-update",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"sources/<uuid:pk>/delete/",
|
"sources/<int:pk>/delete/",
|
||||||
sources.SourceDeleteView.as_view(),
|
sources.SourceDeleteView.as_view(),
|
||||||
name="source-delete",
|
name="source-delete",
|
||||||
),
|
),
|
||||||
|
|
Reference in New Issue