from django.urls import path from django.contrib.auth import views as auth_views from . import views urlpatterns = [ path("", views.home, name="home"), path("register/", views.register, name="register"), path("login/", auth_views.LoginView.as_view(), name="login"), path("logout/", auth_views.LogoutView.as_view(), name="logout"), path("dashboard/", views.dashboard, name="dashboard"), path("truck/register/", views.truck_register, name="truck_register"), path("shipment/post/", views.post_shipment, name="post_shipment"), path("marketplace/", views.marketplace, name="marketplace"), path("shipment//", views.shipment_detail, name="shipment_detail"), path("shipment//bid/", views.place_bid, name="place_bid"), path("bid//accept/", views.accept_bid, name="accept_bid"), ]