Files
Ai/crop_simulation/urls.py
T

25 lines
874 B
Python
Raw Normal View History

2026-04-24 18:34:17 +03:30
from django.urls import path
2026-04-25 17:22:41 +03:30
from .views import (
CurrentFarmSimulationChartView,
HarvestPredictionView,
PlantGrowthSimulationStatusView,
PlantGrowthSimulationView,
2026-04-30 00:53:47 +03:30
YieldHarvestSummaryView,
2026-04-25 17:22:41 +03:30
YieldPredictionView,
)
2026-04-24 18:34:17 +03:30
urlpatterns = [
2026-04-25 17:22:41 +03:30
path("current-farm-chart/", CurrentFarmSimulationChartView.as_view(), name="current-farm-chart"),
path("harvest-prediction/", HarvestPredictionView.as_view(), name="harvest-prediction"),
2026-04-30 00:53:47 +03:30
path("yield-harvest-summary/", YieldHarvestSummaryView.as_view(), name="yield-harvest-summary"),
2026-04-25 17:22:41 +03:30
path("yield-prediction/", YieldPredictionView.as_view(), name="yield-prediction"),
2026-04-24 18:34:17 +03:30
path("growth/", PlantGrowthSimulationView.as_view(), name="growth-simulation"),
path(
"growth/<str:task_id>/status/",
PlantGrowthSimulationStatusView.as_view(),
name="growth-simulation-status",
),
]