devicehub-django/device/urls.py

17 lines
799 B
Python
Raw Permalink Normal View History

2024-07-05 13:32:07 +00:00
from django.urls import path
from device import views
app_name = 'device'
urlpatterns = [
path("add/", views.NewDeviceView.as_view(), name="add"),
2024-07-19 15:40:01 +00:00
path("edit/<str:pk>/", views.EditDeviceView.as_view(), name="edit"),
path("<str:pk>/", views.DetailsView.as_view(), name="details"),
2024-11-12 14:47:32 +00:00
path("<str:pk>/user_property/add", views.AddUserPropertyView.as_view(), name="add_user_property"),
2024-11-15 21:16:45 +00:00
path("user_property/<int:pk>/delete", views.DeleteUserPropertyView.as_view(), name="delete_user_property"),
2024-11-15 22:11:05 +00:00
path("user_property/<int:pk>/update", views.UpdateUserPropertyView.as_view(), name="update_user_property"),
2024-07-30 11:37:08 +00:00
path("<str:pk>/document/add", views.AddDocumentView.as_view(), name="add_document"),
2024-10-22 07:19:16 +00:00
path("<str:pk>/public/", views.PublicDeviceWebView.as_view(), name="device_web"),
2024-10-08 05:26:48 +00:00
2024-07-05 13:32:07 +00:00
]