This commit is contained in:
2026-04-28 04:11:09 +03:30
parent 5f0d94b8fd
commit 9b7d412445
17 changed files with 849 additions and 30 deletions
+10
View File
@@ -0,0 +1,10 @@
from django.urls import path
from .views import PlantDetailView, PlantListView, PlantNameListView, SelectedPlantListView
urlpatterns = [
path("names/", PlantNameListView.as_view(), name="plant-name-list"),
path("selected/", SelectedPlantListView.as_view(), name="selected-plant-list"),
path("<int:plant_id>/", PlantDetailView.as_view(), name="plant-detail"),
path("", PlantListView.as_view(), name="plant-list"),
]