first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import PlantDetailView, PlantFetchInfoView, PlantListCreateView
|
||||
|
||||
urlpatterns = [
|
||||
path("", PlantListCreateView.as_view(), name="plant-list-create"),
|
||||
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