2026-02-25 12:21:53 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-03-29 15:07:14 +03:30
|
|
|
from .views import ConfigView, RecommendTaskStatusView, RecommendView
|
2026-02-25 12:21:53 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("config/", ConfigView.as_view(), name="fertilization-recommendation-config"),
|
|
|
|
|
path("recommend/", RecommendView.as_view(), name="fertilization-recommendation-recommend"),
|
2026-03-29 15:07:14 +03:30
|
|
|
path(
|
|
|
|
|
"recommend/status/<str:task_id>/",
|
|
|
|
|
RecommendTaskStatusView.as_view(),
|
|
|
|
|
name="fertilization-recommendation-task-status",
|
|
|
|
|
),
|
2026-02-25 12:21:53 +03:30
|
|
|
]
|