expalert/frontend/urls.py

15 lines
515 B
Python
Raw Permalink Normal View History

2023-12-04 15:09:40 +00:00
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'),
]