diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-14 12:53:28 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-14 12:53:28 +0100 |
commit | 46f11648d902b22a177b878e35d6049a7a127ce7 (patch) | |
tree | f59f6630717bc9097c988a6d8d3eebe4ad548f1d /pyblackbird_cc/resources/urls.py | |
parent | b5e2c4b9a7aab20db6dd6072a01abd114e8e55de (diff) |
Can now upload to Spaces
Diffstat (limited to 'pyblackbird_cc/resources/urls.py')
-rw-r--r-- | pyblackbird_cc/resources/urls.py | 16 |
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 |