from django.urls import path from device import views app_name = 'device' urlpatterns = [ path("add/", views.NewDeviceView.as_view(), name="add"), path("edit//", views.EditDeviceView.as_view(), name="edit"), path("/", views.DetailsView.as_view(), name="details"), path("/annotation/add", views.AddAnnotationView.as_view(), name="add_annotation"), path("/document/add", views.AddDocumentView.as_view(), name="add_document"), path("/public/", views.DeviceWebView.as_view(), name="device_web"), ]