from django.urls import path

from . import views


app_name = "documents"

# 文档模块对外暴露三个基础动作：列表、上传、手动入库。
urlpatterns = [
    path("", views.document_list, name="list"),
    path("upload/", views.upload, name="upload"),
    path("<int:document_id>/index/", views.index, name="index"),
]
