2022-09-16 15:18:04 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from ..views.frontend import NotImplementedView
|
2022-09-20 14:02:39 +00:00
|
|
|
from ..views.admin.vessels import AdminVesselsListView, AdminVesselsListDataTableView, AdminVesselsCreateView, AdminVesselsUpdateView, AdminVesselsDeleteView
|
|
|
|
from ..views.admin.replication.sources import AdminReplicationSourcesListView, AdminReplicationSourcesListDataTableView, AdminReplicationSourcesCreateView, AdminReplicationSourcesUpdateView, AdminReplicationSourcesDeleteView
|
|
|
|
from ..views.admin.replication.targets import AdminReplicationTargetsListView, AdminReplicationTargetsListDataTableView, AdminReplicationTargetsCreateView, AdminReplicationTargetsUpdateView, AdminReplicationTargetsDeleteView
|
2022-09-16 15:18:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
2022-09-20 14:02:39 +00:00
|
|
|
path("", NotImplementedView.as_view(), name="admin"),
|
|
|
|
|
2022-09-16 15:18:04 +00:00
|
|
|
path("vessels/", AdminVesselsListView.as_view(), name="admin_vessels"),
|
2022-09-20 14:02:39 +00:00
|
|
|
path("vessels/new/", AdminVesselsCreateView.as_view(),
|
|
|
|
name="admin_vessels_create"),
|
|
|
|
path("vessels/datatable/", AdminVesselsListDataTableView.as_view(),
|
|
|
|
name="admin_vessels_datatable"),
|
|
|
|
path("vessels/<int:id>/", AdminVesselsCreateView.as_view(),
|
|
|
|
name="admin_vessels_edit"),
|
|
|
|
path("vessels/<int:id>/delete/", AdminVesselsCreateView.as_view(),
|
|
|
|
name="admin_vessels_delete"),
|
|
|
|
|
|
|
|
path("replication/sources/", AdminReplicationSourcesListView.as_view(),
|
|
|
|
name="admin_replication_sources"),
|
|
|
|
path("replication/sources/new/", AdminReplicationSourcesCreateView.as_view(),
|
|
|
|
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(),
|
|
|
|
name="admin_replication_sources_edit"),
|
|
|
|
path("replication/sources/<int:id>/delete/", AdminReplicationSourcesCreateView.as_view(),
|
|
|
|
name="admin_replication_sources_delete"),
|
|
|
|
|
|
|
|
path("replication/targets/", AdminReplicationTargetsListView.as_view(),
|
|
|
|
name="admin_replication_targets"),
|
|
|
|
path("replication/targets/new/", AdminReplicationTargetsCreateView.as_view(),
|
|
|
|
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(),
|
|
|
|
name="admin_replication_targets_edit"),
|
|
|
|
path("replication/targets/<int:id>/delete/", AdminReplicationTargetsCreateView.as_view(),
|
|
|
|
name="admin_replication_targets_delete"),
|
|
|
|
]
|