2024-11-23 23:02:52 +08:00
|
|
|
from django.urls import include, path
|
2024-11-24 02:20:18 +08:00
|
|
|
from .views import (
|
|
|
|
DocumentUploadView,
|
|
|
|
DocumentDeleteView,
|
|
|
|
DocumentListView,
|
|
|
|
DocumentStaffListView,
|
2024-12-04 15:39:39 +08:00
|
|
|
DocumentUpdateView
|
2024-11-24 02:20:18 +08:00
|
|
|
)
|
2024-11-23 23:02:52 +08:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("upload/", DocumentUploadView.as_view()),
|
2024-12-04 15:39:39 +08:00
|
|
|
path("update/<int:pk>/", DocumentUpdateView.as_view()),
|
2024-11-23 23:02:52 +08:00
|
|
|
path("delete/<int:pk>/", DocumentDeleteView.as_view()),
|
|
|
|
path("list/", DocumentListView.as_view()),
|
2024-11-24 02:20:18 +08:00
|
|
|
path("list/staff/", DocumentStaffListView.as_view()),
|
2024-11-23 23:02:52 +08:00
|
|
|
]
|