Recipes phase 1
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = 'recipes'
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.library, name='list'),
|
||||
path('new/', views.create, name='create'),
|
||||
path('<uuid:identifier>/', views.detail, name='detail'),
|
||||
path('<uuid:identifier>/edit/', views.edit, name='edit'),
|
||||
path('<uuid:identifier>/delete/', views.delete, name='delete'),
|
||||
path('<uuid:identifier>/favourite/', views.toggle_favourite, name='favourite'),
|
||||
path('<uuid:identifier>/photo/', views.photo, name='photo'),
|
||||
]
|
||||
Reference in New Issue
Block a user