2026-04-10 16:12:51 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-04-30 01:01:04 +03:30
|
|
|
from .views import (
|
|
|
|
|
CurrentFarmChartView,
|
|
|
|
|
GrowthSimulationStatusView,
|
|
|
|
|
GrowthSimulationView,
|
|
|
|
|
HarvestPredictionView,
|
|
|
|
|
YieldHarvestSummaryView,
|
|
|
|
|
YieldPredictionView,
|
|
|
|
|
)
|
2026-04-10 16:12:51 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("summary/", YieldHarvestSummaryView.as_view(), name="yield-harvest-summary"),
|
2026-04-30 02:10:27 +03:30
|
|
|
path("current-farm-chart/", CurrentFarmChartView.as_view(), name="yield-harvest-current-farm-chart"),
|
|
|
|
|
path("growth/", GrowthSimulationView.as_view(), name="yield-harvest-growth"),
|
|
|
|
|
path("growth/<str:task_id>/status/", GrowthSimulationStatusView.as_view(), name="yield-harvest-growth-status"),
|
|
|
|
|
path("harvest-prediction/", HarvestPredictionView.as_view(), name="yield-harvest-harvest-prediction"),
|
|
|
|
|
path("yield-prediction/", YieldPredictionView.as_view(), name="yield-harvest-yield-prediction"),
|
|
|
|
|
path("yield-harvest-summary/", YieldHarvestSummaryView.as_view(), name="yield-harvest-crop-simulation-summary"),
|
2026-04-10 16:12:51 +03:30
|
|
|
]
|