This commit is contained in:
Kumi 2022-09-26 15:14:40 +00:00
parent b4d81c3f51
commit b0aac7fd89
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 12 additions and 12 deletions

View file

@ -6,16 +6,16 @@ from .views.vessels import VesselsLocationView
urlpatterns = [
path("urls/vessels/datatable/", VesselsDataTableURLView.as_view(), name=""),
path("urls/vessels/edit/<str:id>/", VesselsEditURLView.as_view(), name=""),
path("urls/vessels/delete/<str:id>/", VesselsDeleteURLView.as_view(), name=""),
path("urls/vessels/edit/<str:pk>/", VesselsEditURLView.as_view(), name=""),
path("urls/vessels/delete/<str:pk>/", VesselsDeleteURLView.as_view(), name=""),
path("urls/replication/targets/datatable/", ReplicationTargetsDataTableURLView.as_view(), name=""),
path("urls/replication/targets/edit/<str:id>/", ReplicationTargetsEditURLView.as_view(), name=""),
path("urls/replication/targets/delete/<str:id>/", ReplicationTargetsDeleteURLView.as_view(), name=""),
path("urls/replication/targets/edit/<str:pk>/", ReplicationTargetsEditURLView.as_view(), name=""),
path("urls/replication/targets/delete/<str:pk>/", ReplicationTargetsDeleteURLView.as_view(), name=""),
path("urls/replication/sources/datatable/", ReplicationSourcesDataTableURLView.as_view(), name=""),
path("urls/replication/sources/edit/<str:id>/", ReplicationSourcesEditURLView.as_view(), name=""),
path("urls/replication/sources/delete/<str:id>/", ReplicationSourcesDeleteURLView.as_view(), name=""),
path("urls/replication/sources/edit/<str:pk>/", ReplicationSourcesEditURLView.as_view(), name=""),
path("urls/replication/sources/delete/<str:pk>/", ReplicationSourcesDeleteURLView.as_view(), name=""),
path("urls/static/", StaticsURLView.as_view(), name=""),

View file

@ -14,9 +14,9 @@ urlpatterns = [
name="admin_vessels_create"),
path("vessels/datatable/", AdminVesselsListDataTableView.as_view(),
name="admin_vessels_datatable"),
path("vessels/<int:id>/", AdminVesselsCreateView.as_view(),
path("vessels/<int:pk>/", AdminVesselsUpdateView.as_view(),
name="admin_vessels_edit"),
path("vessels/<int:id>/delete/", AdminVesselsCreateView.as_view(),
path("vessels/<int:pk>/delete/", AdminVesselsDeleteView.as_view(),
name="admin_vessels_delete"),
path("replication/sources/", AdminReplicationSourcesListView.as_view(),
@ -25,9 +25,9 @@ urlpatterns = [
name="admin_replication_sources_create"),
path("replication/sources/datatable/", AdminReplicationSourcesListDataTableView.as_view(),
name="admin_replication_sources_datatable"),
path("replication/sources/<int:id>/", AdminReplicationSourcesCreateView.as_view(),
path("replication/sources/<int:pk>/", AdminReplicationSourcesUpdateView.as_view(),
name="admin_replication_sources_edit"),
path("replication/sources/<int:id>/delete/", AdminReplicationSourcesCreateView.as_view(),
path("replication/sources/<int:pk>/delete/", AdminReplicationSourcesDeleteView.as_view(),
name="admin_replication_sources_delete"),
path("replication/targets/", AdminReplicationTargetsListView.as_view(),
@ -36,8 +36,8 @@ urlpatterns = [
name="admin_replication_targets_create"),
path("replication/targets/datatable/", AdminReplicationTargetsListDataTableView.as_view(),
name="admin_replication_targets_datatable"),
path("replication/targets/<int:id>/", AdminReplicationTargetsCreateView.as_view(),
path("replication/targets/<int:pk>/", AdminReplicationTargetsUpdateView.as_view(),
name="admin_replication_targets_edit"),
path("replication/targets/<int:id>/delete/", AdminReplicationTargetsCreateView.as_view(),
path("replication/targets/<int:pk>/delete/", AdminReplicationTargetsDeleteView.as_view(),
name="admin_replication_targets_delete"),
]