devicehub-django/lot/urls.py

12 lines
368 B
Python
Raw Normal View History

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"),
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-09 11:35:35 +00:00
]