aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/urls.py
blob: 30c5f9968c441390b1ba4568d2b728e566860f52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"),
]

htmx_patterns = [
    path("hx-download-btn/", views.hx_download_button, name="hx_download_button"),
]

urlpatterns += htmx_patterns