blob: 86b3f4d19a50e054470126ad33555110c1145c49 (
plain) (
tree)
|
|
from django.urls import path
from . import views
app_name = "resources"
urlpatterns = [
path("", views.index, name="index"),
path("create/", views.create_resource, name="create_resource"),
path("resource/<int:resource_id>", views.resource_detail, name="resource_detail"),
path(
"resource/update-metadata/<int:pk>",
views.update_resource_metadata,
name="resource_update_metadata",
),
]
htmx_patterns = [
path("hx-download-btn/", views.hx_download_button, name="hx_download_button"),
]
urlpatterns += htmx_patterns
|