academon/api/urls.py

24 lines
1.4 KiB
Python
Raw Normal View History

2022-09-16 12:51:56 +00:00
from django.urls import path, include
2022-09-20 14:02:39 +00:00
from .views.urls import VesselsDataTableURLView, VesselsDeleteURLView, VesselsEditURLView, ReplicationSourcesDataTableURLView, ReplicationSourcesDeleteURLView, ReplicationSourcesEditURLView, ReplicationTargetsDataTableURLView, ReplicationTargetsDeleteURLView, ReplicationTargetsEditURLView, StaticsURLView
2022-09-18 16:45:35 +00:00
from .views.vessels import VesselsLocationView
2022-09-16 12:51:56 +00:00
urlpatterns = [
2022-09-20 14:02:39 +00:00
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=""),
2022-09-18 16:45:35 +00:00
path("urls/static/", StaticsURLView.as_view(), name=""),
2022-09-20 14:02:39 +00:00
2022-09-18 16:45:35 +00:00
path("vessels/location/<str:id>/", VesselsLocationView.as_view(), name=""),
2022-09-16 12:51:56 +00:00
]