from django.urls import path

from .views import (
    PlantDetailView,
    PlantFetchInfoView,
    PlantListCreateView,
    PlantNameStageListView,
)

urlpatterns = [
    path("", PlantListCreateView.as_view(), name="plant-list-create"),
    path("names/", PlantNameStageListView.as_view(), name="plant-name-stage-list"),
    path("<int:pk>/", PlantDetailView.as_view(), name="plant-detail"),
    path("fetch-info/", PlantFetchInfoView.as_view(), name="plant-fetch-info"),
]
