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"),
|
2020-05-27 19:39:14 +00:00
|
|
|
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-27 19:39:14 +00:00
|
|
|
|
2020-05-25 09:49:36 +00:00
|
|
|
]
|