Ticket #31964: urls.py

File urls.py, 293 bytes (added by kukesh-yiddish, 4 years ago)
Line 
1from django.urls import path
2from . import views
3
4app_name ='E_shop'
5
6urlpatterns = [
7 path('', views.HomeView.as_view(), name='home-page'),
8 path('checkout/', views.check_out, name='check-out'),
9 path('product/<slug>/', views.ItemDetailView.as_view(), name='product-page')
10]
Back to Top