2026-02-25 12:21:53 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-02-26 00:38:46 +03:30
|
|
|
from .views import (
|
2026-05-13 22:29:18 +03:30
|
|
|
ClusterBlockLiveView,
|
|
|
|
|
ClusterRecommendationsView,
|
|
|
|
|
KOptionsActivateView,
|
|
|
|
|
KOptionsView,
|
|
|
|
|
LocationDataNdviHealthView,
|
|
|
|
|
LocationDataRemoteSensingView,
|
|
|
|
|
LocationDataView,
|
|
|
|
|
RunStatusView,
|
2026-02-26 00:38:46 +03:30
|
|
|
)
|
2026-02-25 12:21:53 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
2026-05-13 22:29:18 +03:30
|
|
|
path("", LocationDataView.as_view(), name="location-data"),
|
|
|
|
|
path("ndvi-health/", LocationDataNdviHealthView.as_view(), name="location-data-ndvi-health"),
|
|
|
|
|
path("remote-sensing/", LocationDataRemoteSensingView.as_view(), name="location-data-remote-sensing"),
|
2026-02-26 00:38:46 +03:30
|
|
|
path(
|
2026-05-13 22:29:18 +03:30
|
|
|
"remote-sensing/cluster-blocks/<uuid:cluster_uuid>/live/",
|
|
|
|
|
ClusterBlockLiveView.as_view(),
|
|
|
|
|
name="location-data-cluster-block-live",
|
|
|
|
|
),
|
|
|
|
|
path(
|
|
|
|
|
"remote-sensing/cluster-recommendations/",
|
|
|
|
|
ClusterRecommendationsView.as_view(),
|
|
|
|
|
name="location-data-cluster-recommendations",
|
|
|
|
|
),
|
|
|
|
|
path(
|
|
|
|
|
"remote-sensing/results/<int:result_id>/k-options/",
|
|
|
|
|
KOptionsView.as_view(),
|
|
|
|
|
name="location-data-k-options",
|
|
|
|
|
),
|
|
|
|
|
path(
|
|
|
|
|
"remote-sensing/results/<int:result_id>/k-options/activate/",
|
|
|
|
|
KOptionsActivateView.as_view(),
|
|
|
|
|
name="location-data-k-options-activate",
|
|
|
|
|
),
|
|
|
|
|
path(
|
|
|
|
|
"remote-sensing/runs/<int:run_id>/status/",
|
|
|
|
|
RunStatusView.as_view(),
|
|
|
|
|
name="location-data-run-status",
|
2026-02-26 00:38:46 +03:30
|
|
|
),
|
2026-02-25 12:21:53 +03:30
|
|
|
]
|