from django.urls import path from . import views app_name = "resources" urlpatterns = [ path("", views.index, name="resource_list"), path("create/", views.create_resource, name="create_resource"), path("featured/", views.create_featured, name="create_featured"), path("resource/", views.resource_detail, name="resource_detail"), path( "resource/update-metadata/", views.update_resource_metadata, name="resource_update_metadata", ), path("resource/update-thumbnails/", views.update_resource_thumbnails, name="resource_update_thumbnails"), ] htmx_patterns = [ path("hx-download-btn/", views.hx_download_button, name="hx_download_button"), ] urlpatterns += htmx_patterns