Cocktail-DB/cocktail_list/urls.py

7 lines
187 B
Python
Raw Normal View History

2020-05-25 09:49:36 +00:00
from django.urls import path
from .views import homepage,cocktail
urlpatterns = [
path("",homepage,name="Homepage"),
path("cocktail/<nome_cocktail>/",cocktail,name="cocktail"),
]