academon/api/urls.py
2022-09-20 14:02:39 +00:00

23 lines
1.4 KiB
Python

from django.urls import path, include
from .views.urls import VesselsDataTableURLView, VesselsDeleteURLView, VesselsEditURLView, ReplicationSourcesDataTableURLView, ReplicationSourcesDeleteURLView, ReplicationSourcesEditURLView, ReplicationTargetsDataTableURLView, ReplicationTargetsDeleteURLView, ReplicationTargetsEditURLView, StaticsURLView
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/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/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/static/", StaticsURLView.as_view(), name=""),
path("vessels/location/<str:id>/", VesselsLocationView.as_view(), name=""),
]