DocManagerBackend/docmanager_backend/documents/urls.py

9 lines
291 B
Python
Raw Normal View History

2024-11-23 23:02:52 +08:00
from django.urls import include, path
from .views import DocumentUploadView, DocumentDeleteView, DocumentListView
urlpatterns = [
path("upload/", DocumentUploadView.as_view()),
path("delete/<int:pk>/", DocumentDeleteView.as_view()),
path("list/", DocumentListView.as_view()),
]