Recipes phase 3

This commit is contained in:
Joren de Graaf
2026-10-12 09:37:04 +02:00
parent 13cd65622e
commit b0e95c62f5
15 changed files with 788 additions and 13 deletions
+7
View File
@@ -12,6 +12,13 @@ urlpatterns = [
path('<uuid:identifier>/edit/', views.edit, name='edit'),
path('<uuid:identifier>/autosave/', views.autosave, name='autosave'),
path('<uuid:identifier>/variations/new/', views.create_variation, name='create-variation'),
path('<uuid:identifier>/stock/', views.stock_preview, name='stock-preview'),
path('<uuid:identifier>/stock/confirm/', views.stock_confirm, name='stock-confirm'),
path('stock-use/<uuid:identifier>/undo/', views.stock_undo, name='stock-undo'),
path('<uuid:identifier>/ingredients/<int:ingredient_id>/substitutions/new/',
views.substitution_add, name='substitution-add'),
path('<uuid:identifier>/ingredients/<int:ingredient_id>/substitutions/<int:substitution_id>/delete/',
views.substitution_delete, name='substitution-delete'),
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'),