14 lines
332 B
Python
14 lines
332 B
Python
|
from django.urls import path
|
||
|
from django.conf import settings
|
||
|
|
||
|
from .views import (
|
||
|
CustomerDashboardView,
|
||
|
BaseTestView,
|
||
|
)
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('manager/dashboard/', CustomerDashboardView.as_view(), name='dashboard'),
|
||
|
]
|
||
|
|
||
|
if settings.DEBUG:
|
||
|
urlpatterns.append(path('test/base/', BaseTestView.as_view(), name='base'))
|