2024-07-09 11:35:35 +00:00
|
|
|
from django.urls import path
|
|
|
|
from lot import views
|
|
|
|
|
|
|
|
app_name = 'lot'
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("add/", views.NewLotView.as_view(), name="add"),
|
2024-07-10 11:55:57 +00:00
|
|
|
path("delete/<int:pk>/", views.DeleteLotView.as_view(), name="delete"),
|
2024-07-09 11:35:35 +00:00
|
|
|
path("edit/<int:pk>/", views.EditLotView.as_view(), name="edit"),
|
2024-07-09 15:31:24 +00:00
|
|
|
path("add/devices/", views.AddToLotView.as_view(), name="add_devices"),
|
2024-07-10 08:24:40 +00:00
|
|
|
path("del/devices/", views.DelToLotView.as_view(), name="del_devices"),
|
2024-07-18 15:21:22 +00:00
|
|
|
path("tag/<int:pk>/", views.LotsTagsView.as_view(), name="tag"),
|
2024-07-30 11:37:08 +00:00
|
|
|
path("<int:pk>/document/", views.LotDocumentsView.as_view(), name="documents"),
|
|
|
|
path("<int:pk>/document/add", views.LotAddDocumentView.as_view(), name="add_document"),
|
|
|
|
path("<int:pk>/annotation", views.LotAnnotationsView.as_view(), name="annotations"),
|
|
|
|
path("<int:pk>/annotation/add", views.LotAddAnnotationView.as_view(), name="add_annotation"),
|
2024-07-09 11:35:35 +00:00
|
|
|
]
|