DocManagerBackend/docmanager_backend/documents/urls.py

8 lines
291 B
Python

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()),
]