You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
702 B
Python
15 lines
702 B
Python
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'),
|
|
]))
|
|
]
|