22 lines
753 B
Python
22 lines
753 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path("", views.index, name="index"),
|
|
path("dashboard", views.dashboard, name="dashboard"),
|
|
path("settings", views.settings, name="settings"),
|
|
path("documents/upload", views.upload_document, name="upload_document"),
|
|
path("documents/<str:pk>", views.view_document, name="view_document"),
|
|
path(
|
|
"documents/<str:pk>/thumbnail",
|
|
views.document_thumbnail,
|
|
name="document_thumbnail",
|
|
),
|
|
path(
|
|
"documents/<str:pk>/download", views.download_document, name="download_document"
|
|
),
|
|
path("documents/<str:pk>/delete", views.delete_document, name="delete_document"),
|
|
path("auth/register", views.register, name="register"),
|
|
]
|