PenParse/penparse/webui/urls.py

19 lines
650 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("auth/register", views.register, name="register"),
]