10 lines
285 B
Python
10 lines
285 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = 'wine'
|
|
urlpatterns = [
|
|
path('', views.IndexView.as_view(), name='index'),
|
|
path('<int:pk>/', views.DetailView.as_view(), name='detail'),
|
|
path('takeout/<int:millesime_id>', views.takeoutBottle, name='takeout'),
|
|
]
|