UPDATE
This commit is contained in:
@@ -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"),
|
||||
]
|
||||
Reference in New Issue
Block a user