urls.py 526 B

1234567891011121314
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('', views.home, name='home'),
  5. path('register/', views.register, name='register'),
  6. path('login/', views.login, name='login'),
  7. path('service/', views.service, name='service'),
  8. path('service/<int:product_id>/', views.product_detail, name='product_detail'),
  9. path('search_result/', views.search_result, name='search_result'),
  10. path('profile/', views.profile, name='profile'),
  11. path('logout/', views.logout_view, name='logout'),
  12. ]