25 lines
874 B
Python
25 lines
874 B
Python
|
|
from django.urls import path
|
||
|
|
|
||
|
|
from .views import (
|
||
|
|
CurrentFarmSimulationChartView,
|
||
|
|
HarvestPredictionView,
|
||
|
|
PlantGrowthSimulationStatusView,
|
||
|
|
PlantGrowthSimulationView,
|
||
|
|
YieldHarvestSummaryView,
|
||
|
|
YieldPredictionView,
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
urlpatterns = [
|
||
|
|
path("current-farm-chart/", CurrentFarmSimulationChartView.as_view(), name="current-farm-chart"),
|
||
|
|
path("harvest-prediction/", HarvestPredictionView.as_view(), name="harvest-prediction"),
|
||
|
|
path("yield-harvest-summary/", YieldHarvestSummaryView.as_view(), name="yield-harvest-summary"),
|
||
|
|
path("yield-prediction/", YieldPredictionView.as_view(), name="yield-prediction"),
|
||
|
|
path("growth/", PlantGrowthSimulationView.as_view(), name="growth-simulation"),
|
||
|
|
path(
|
||
|
|
"growth/<str:task_id>/status/",
|
||
|
|
PlantGrowthSimulationStatusView.as_view(),
|
||
|
|
name="growth-simulation-status",
|
||
|
|
),
|
||
|
|
]
|