PenParse/penparse/webui/urls.py

27 lines
867 B
Python
Raw Normal View History

2024-11-23 12:28:00 +00:00
from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="index"),
2024-12-07 21:30:55 +00:00
path("dashboard", views.dashboard, name="dashboard"),
2024-12-08 15:51:02 +00:00
path("settings", views.settings, name="settings"),
2024-12-07 21:50:30 +00:00
path("documents/upload", views.upload_document, name="upload_document"),
2024-12-08 15:51:02 +00:00
path("documents/<str:pk>", views.view_document, name="view_document"),
path(
"documents/<str:pk>/thumbnail",
views.document_thumbnail,
name="document_thumbnail",
2024-12-08 15:51:02 +00:00
),
2024-12-10 16:05:24 +00:00
path(
"documents/<str:pk>/image",
views.document_image,
name="document_image",
),
2024-12-08 15:51:02 +00:00
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"),
2024-11-23 12:28:00 +00:00
]