Files
Ai/crop_simulation/urls.py
T

23 lines
744 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,
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"),
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",
),
]