2026-02-27 13:09:00 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-05-09 16:55:06 +03:30
|
|
|
from .views import (
|
|
|
|
|
NdviHealthView,
|
|
|
|
|
RemoteSensingAnalysisView,
|
2026-05-11 04:38:44 +03:30
|
|
|
RemoteSensingClusterBlockLiveView,
|
2026-05-13 16:45:54 +03:30
|
|
|
RemoteSensingClusterRecommendationView,
|
2026-05-11 04:38:44 +03:30
|
|
|
RemoteSensingSubdivisionOptionActivateView,
|
|
|
|
|
RemoteSensingSubdivisionOptionListView,
|
2026-05-09 16:55:06 +03:30
|
|
|
RemoteSensingRunStatusView,
|
|
|
|
|
SoilDataView,
|
|
|
|
|
)
|
2026-02-27 13:09:00 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("", SoilDataView.as_view(), name="soil-data"),
|
2026-05-09 16:55:06 +03:30
|
|
|
path("remote-sensing/", RemoteSensingAnalysisView.as_view(), name="remote-sensing"),
|
2026-05-11 04:38:44 +03:30
|
|
|
path(
|
|
|
|
|
"remote-sensing/cluster-blocks/<uuid:cluster_uuid>/live/",
|
|
|
|
|
RemoteSensingClusterBlockLiveView.as_view(),
|
|
|
|
|
name="remote-sensing-cluster-block-live",
|
|
|
|
|
),
|
2026-05-13 16:45:54 +03:30
|
|
|
path(
|
|
|
|
|
"remote-sensing/cluster-recommendations/",
|
|
|
|
|
RemoteSensingClusterRecommendationView.as_view(),
|
|
|
|
|
name="remote-sensing-cluster-recommendations",
|
|
|
|
|
),
|
2026-05-11 04:38:44 +03:30
|
|
|
path(
|
|
|
|
|
"remote-sensing/results/<int:result_id>/k-options/",
|
|
|
|
|
RemoteSensingSubdivisionOptionListView.as_view(),
|
|
|
|
|
name="remote-sensing-k-options",
|
|
|
|
|
),
|
|
|
|
|
path(
|
|
|
|
|
"remote-sensing/results/<int:result_id>/k-options/activate/",
|
|
|
|
|
RemoteSensingSubdivisionOptionActivateView.as_view(),
|
|
|
|
|
name="remote-sensing-k-options-activate",
|
|
|
|
|
),
|
2026-05-10 02:02:48 +03:30
|
|
|
path("remote-sensing/runs/<uuid:run_id>/status/", RemoteSensingRunStatusView.as_view(), name="remote-sensing-run-status"),
|
2026-04-25 17:22:41 +03:30
|
|
|
path("ndvi-health/", NdviHealthView.as_view(), name="ndvi-health"),
|
2026-02-27 13:09:00 +03:30
|
|
|
]
|