Cocktail-DB/cocktail_list/urls.py

13 lines
564 B
Python
Raw Normal View History

2020-05-25 09:49:36 +00:00
from django.urls import path
2020-06-04 19:53:18 +00:00
from .views import homepage,cocktail,cerca,random_cocktail,strumenti_cocktail,bicchieri_cocktail,createCocktail
2020-05-25 09:49:36 +00:00
urlpatterns = [
path("",homepage,name="Homepage"),
path("cocktail/<nome_cocktail>/",cocktail,name="cocktail"),
path("cerca/",cerca,name="cerca"),
2020-06-03 13:45:22 +00:00
path("random_cocktail/",random_cocktail,name="random_cocktail"),
path("strumenti/",strumenti_cocktail,name="strumenti-list"),
2020-06-04 19:53:18 +00:00
path("bicchieri/",bicchieri_cocktail,name="bicchieri-list"),
path("crea-cocktail/",createCocktail,name="crea-cocktail")
2020-05-25 09:49:36 +00:00
]