from django.urls import path from . import views app_name = 'recipes' urlpatterns = [ path('', views.library, name='list'), path('cook-later/', views.cook_later_list, name='cook-later'), path('cook-later//remove/', views.cook_later_remove, name='cook-later-remove'), path('discover//', views.discover_detail, name='discover-detail'), path('match/', views.match, name='match'), path('match/reset/', views.match_reset, name='match-reset'), path('match//select/', views.match_select, name='match-select'), path('match//photo/', views.match_photo, name='match-photo'), path('new/', views.create, name='create'), path('new/autosave/', views.autosave_new, name='autosave-new'), path('compose/', views.compose_recipe, name='compose'), path('/links/new/', views.link_recipe, name='link'), path('/links//edit/', views.link_recipe, name='link-edit'), path('/links//remove/', views.unlink_recipe, name='unlink'), path('/', views.detail, name='detail'), path('/edit/', views.edit, name='edit'), path('/photo/upload/', views.photo_upload, name='photo-upload'), path('/cook/', views.cook, name='cook'), path('/cook/finish/', views.cook_finish, name='cook-finish'), path('/autosave/', views.autosave, name='autosave'), path('/variations/new/', views.create_variation, name='create-variation'), path('/stock/', views.stock_preview, name='stock-preview'), path('/stock/confirm/', views.stock_confirm, name='stock-confirm'), path('stock-use//undo/', views.stock_undo, name='stock-undo'), path('/ingredients//substitutions/new/', views.substitution_add, name='substitution-add'), path('/ingredients//substitutions//delete/', views.substitution_delete, name='substitution-delete'), path('/delete/', views.delete, name='delete'), path('/favourite/', views.toggle_favourite, name='favourite'), path('/photo/', views.photo, name='photo'), ]