Files
Django_TasksApp/main/recipes/urls.py
T
2026-10-12 01:37:51 +02:00

16 lines
520 B
Python

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'),
]