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.
13 lines
507 B
Python
13 lines
507 B
Python
from django.urls import path, include
|
|
from common import views
|
|
|
|
urlpatterns = [
|
|
path('', views.IndexView.as_view(), name='index'),
|
|
path('dashboard/', include([
|
|
path('', views.DashboardRedirectView.as_view(), name='dashboard'),
|
|
path('client/', views.ClientDashboardView.as_view(), name='client_dashboard'),
|
|
path('barrier/', views.BarrierDashboardView.as_view(), name='barrier_dashboard'),
|
|
path('employee/', views.EmployeeDashboardView.as_view(), name='employee_dashboard'),
|
|
]))
|
|
]
|