12 lines
383 B
Python
12 lines
383 B
Python
from django.urls import path
|
|
from device import views
|
|
|
|
app_name = 'device'
|
|
|
|
urlpatterns = [
|
|
path("add/", views.NewDeviceView.as_view(), name="add"),
|
|
path("edit/<uuid:pk>/", views.EditDeviceView.as_view(), name="edit"),
|
|
path("<uuid:pk>/", views.DetailsView.as_view(), name="details"),
|
|
path("physical/<uuid:pk>/", views.PhysicalView.as_view(), name="physical_edit"),
|
|
]
|