from django.urls import path from .views import DevView, DashboardView, PanicView, HistoryView, DevicesView, AddAppView APP = "frontend" urlpatterns = [ path('', DashboardView.as_view(), name='dashboard'), path('dev/', DevView.as_view(), name='dev'), path('panic/', PanicView.as_view(), name='panic'), path('panic/history/', HistoryView.as_view(), name='history'), path('devices/', DevicesView.as_view(), name='devices'), path('devices/add-app/', AddAppView.as_view(), name='add_app'), ]