mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-01-19 01:23:02 +08:00
14 lines
393 B
Python
14 lines
393 B
Python
from django.urls import include, path
|
|
from .views import (
|
|
DocumentUploadView,
|
|
DocumentDeleteView,
|
|
DocumentListView,
|
|
DocumentStaffListView,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path("upload/", DocumentUploadView.as_view()),
|
|
path("delete/<int:pk>/", DocumentDeleteView.as_view()),
|
|
path("list/", DocumentListView.as_view()),
|
|
path("list/staff/", DocumentStaffListView.as_view()),
|
|
]
|