This commit is contained in:
2026-05-11 03:27:21 +03:30
parent cf7cbb937c
commit d0e68a1a56
854 changed files with 102985 additions and 76 deletions
+17
View File
@@ -0,0 +1,17 @@
from django.urls import path
from .views import (
IrrigationMethodDetailView,
IrrigationMethodListCreateView,
IrrigationPlanParserView,
IrrigationRecommendView,
WaterStressView,
)
urlpatterns = [
path("", IrrigationMethodListCreateView.as_view(), name="irrigation-list-create"),
path("<int:pk>/", IrrigationMethodDetailView.as_view(), name="irrigation-detail"),
path("recommend/", IrrigationRecommendView.as_view(), name="irrigation-recommend"),
path("plan-from-text/", IrrigationPlanParserView.as_view(), name="irrigation-plan-from-text"),
path("water-stress/", WaterStressView.as_view(), name="water-stress"),
]