2026-03-19 22:54:29 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-03-21 23:50:36 +03:30
|
|
|
from .views import (
|
|
|
|
|
IrrigationMethodDetailView,
|
|
|
|
|
IrrigationMethodListCreateView,
|
|
|
|
|
IrrigationRecommendView,
|
|
|
|
|
)
|
2026-03-19 22:54:29 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("", IrrigationMethodListCreateView.as_view(), name="irrigation-list-create"),
|
|
|
|
|
path("<int:pk>/", IrrigationMethodDetailView.as_view(), name="irrigation-detail"),
|
2026-03-21 23:50:36 +03:30
|
|
|
path("recommend/", IrrigationRecommendView.as_view(), name="irrigation-recommend"),
|
2026-03-19 22:54:29 +03:30
|
|
|
]
|