Initialize clean CSR inventory repository
This commit is contained in:
13
inventory/api_urls.py
Normal file
13
inventory/api_urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.urls import path
|
||||
|
||||
from .api import BulkUpdateView, ChoicesView, DeviceDetailView, DeviceListView
|
||||
|
||||
|
||||
app_name = "inventory-api"
|
||||
|
||||
urlpatterns = [
|
||||
path("devices/", DeviceListView.as_view(), name="device-list"),
|
||||
path("devices/bulk-update/", BulkUpdateView.as_view(), name="device-bulk-update"),
|
||||
path("devices/<int:number>/", DeviceDetailView.as_view(), name="device-detail"),
|
||||
path("choices/", ChoicesView.as_view(), name="choices"),
|
||||
]
|
||||
Reference in New Issue
Block a user