Cocktail-DB/cocktail_list/urls.py

10 lines
317 B
Python

from django.urls import path
from .views import homepage,cocktail,cerca,random_cocktail
urlpatterns = [
path("",homepage,name="Homepage"),
path("cocktail/<nome_cocktail>/",cocktail,name="cocktail"),
path("cerca/",cerca,name="cerca"),
path("random_cocktail/",random_cocktail,name="random_cocktail")
]