aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/urls.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/resources/urls.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/urls.py b/pyblackbird_cc/resources/urls.py
new file mode 100644
index 0000000..30c5f99
--- /dev/null
+++ b/pyblackbird_cc/resources/urls.py
@@ -0,0 +1,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