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