from django.urls import path
from . import views

app_name = 'plants'

urlpatterns = [
    path('', views.plant_list, name='plant_list'),
    path('<int:pk>/', views.plant_detail, name='plant_detail'),
    path('new/', views.plant_create, name='plant_create'),
    path('<int:pk>/edit', views.plant_update, name='plant_update'),
    path('<int:pk>/delete', views.plant_delete, name='plant_delete'),
]
