Files
Inventory/inventory/urls.py
2026-09-29 08:43:05 +02:00

44 lines
2.8 KiB
Python

from django.urls import path
from . import views
app_name = "inventory"
urlpatterns = [
path("", views.device_list, name="device-list"),
path("uebersicht/", views.overview, name="overview"),
path("ablauf/", views.workflow_board, name="workflow-board"),
path("aufgaben/", views.task_list, name="task-list"),
path("devices/new/", views.quick_add, name="quick-add"),
path("devices/bulk-update/", views.bulk_update_devices, name="bulk-update-devices"),
path("devices/<int:pk>/", views.device_detail, name="device-detail"),
path("devices/<int:pk>/stage/", views.device_advance, name="device-advance"),
path("devices/<int:pk>/inspection/", views.device_inspection_save, name="device-inspection-save"),
path("devices/<int:pk>/repairs/", views.device_repair_add, name="device-repair-add"),
path("devices/<int:pk>/recipient/", views.device_storage_assign, name="device-storage-assign"),
path("devices/<int:pk>/tasks/", views.device_task_add, name="device-task-add"),
path("devices/<int:pk>/tasks/<int:task_id>/complete/", views.device_task_complete, name="device-task-complete"),
path("devices/<int:pk>/inline/", views.inline_update, name="inline-update"),
path("devices/<int:pk>/archive/", views.archive_device, name="archive-device"),
path("archive/", views.archive_list, name="archive-list"),
path("archive/<int:pk>/restore/", views.restore_device, name="restore-device"),
path("autocomplete/<str:field>/", views.autocomplete, name="autocomplete"),
path("history/", views.audit_list, name="audit-list"),
path("history/<int:pk>/revert/", views.audit_revert, name="audit-revert"),
path("configuration/", views.configuration, name="configuration"),
path("configuration/employee/new/", views.employee_edit, name="employee-new"),
path("configuration/employee/<int:pk>/", views.employee_edit, name="employee-edit"),
path("configuration/employee/<int:pk>/remove/", views.employee_remove, name="employee-remove"),
path("users/", views.user_list, name="user-list"),
path("users/new/", views.user_edit, name="user-new"),
path("users/<int:pk>/", views.user_edit, name="user-edit"),
path("configuration/value/new/", views.choice_edit, name="choice-new"),
path("configuration/value/<int:pk>/", views.choice_edit, name="choice-edit"),
path("configuration/field/new/", views.field_edit, name="field-new"),
path("configuration/field/<int:pk>/", views.field_edit, name="field-edit"),
path("import/", views.import_excel, name="import-excel"),
path("import/<int:pk>/mapping/", views.import_map, name="import-map"),
path("export/<str:file_format>/", views.export_devices, name="export-devices"),
path("preferences/", views.save_preferences, name="save-preferences"),
path("health/", views.health, name="health"),
]