Recipes phase 1

This commit is contained in:
Joren de Graaf
2026-10-12 01:37:51 +02:00
parent 000ec834b0
commit 500f72382a
19 changed files with 747 additions and 1 deletions
+15
View File
@@ -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'),
]