from django.urls import path
import basketapp.views as basketapp

app_name = 'basketapp'

urlpatterns = [
    path('', basketapp.index, name='index'),
    path('add/<int:product_pk>', basketapp.add, name='add'),
    path('remove/<int:basket_element_pk>', basketapp.remove, name='remove'),
    path('update/<int:basket_element_pk>/<int:quantity>/', basketapp.update),
]