2026-03-19 22:54:29 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-04-28 04:11:49 +03:30
|
|
|
from .views import (
|
|
|
|
|
PlantDetailView,
|
|
|
|
|
PlantFetchInfoView,
|
|
|
|
|
PlantListCreateView,
|
|
|
|
|
PlantNameStageListView,
|
|
|
|
|
)
|
2026-03-19 22:54:29 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("", PlantListCreateView.as_view(), name="plant-list-create"),
|
2026-04-28 04:11:49 +03:30
|
|
|
path("names/", PlantNameStageListView.as_view(), name="plant-name-stage-list"),
|
2026-03-19 22:54:29 +03:30
|
|
|
path("<int:pk>/", PlantDetailView.as_view(), name="plant-detail"),
|
|
|
|
|
path("fetch-info/", PlantFetchInfoView.as_view(), name="plant-fetch-info"),
|
|
|
|
|
]
|