from django.urls import path, reverse_lazy from django.views.generic import RedirectView from .views import ClientRegistrationView, ClientProfileView, ClientDashboardView, ClientBookingsView from auction.views import BookingView app_name = "clients" urlpatterns = [ path('dashboard/', ClientDashboardView.as_view(), name="dashboard"), path('register/', ClientRegistrationView.as_view(), name="register"), path('profile/', ClientProfileView.as_view(), name="profile"), path('bookings/', ClientBookingsView.as_view(), name="bookings"), path('bookings//', BookingView.as_view(), name="booking_view"), path('', RedirectView.as_view(url=reverse_lazy("clients:dashboard"))), ]