from django.urls import path, include from common.views.barrier_views import BarrierDashboardView from common.views.employee_views import EmployeeDashboardView from common.views.client_views import ClientDashboardView from common.views.shared_views import IndexView, DashboardRedirectView urlpatterns = [ path('', IndexView.as_view(), name='index'), path('dashboard/', include([ path('', DashboardRedirectView.as_view(), name='dashboard'), path('client/', ClientDashboardView.as_view(), name='client_dashboard'), path('barrier/', BarrierDashboardView.as_view(), name='barrier_dashboard'), path('employee/', EmployeeDashboardView.as_view(), name='employee_dashboard'), ])) ]