devicehub-django/dashboard/urls.py

11 lines
320 B
Python
Raw Normal View History

2024-07-01 10:19:21 +00:00
from django.urls import path
2024-07-05 13:32:07 +00:00
from dashboard import views
2024-07-01 10:19:21 +00:00
app_name = 'dashboard'
urlpatterns = [
2024-07-05 13:32:07 +00:00
path("", views.UnassignedDevicesView.as_view(), name="unassigned_devices"),
2024-07-10 14:15:37 +00:00
path("all/", views.AllDevicesView.as_view(), name="all_devices"),
2024-07-10 11:55:57 +00:00
path("<int:pk>/", views.LotDashboardView.as_view(), name="lot"),
2024-07-01 10:19:21 +00:00
]