From 7c153163438b383ff39d678a6112a8cf38ee1919 Mon Sep 17 00:00:00 2001 From: blagoja Date: Mon, 15 Jul 2024 12:02:33 +0200 Subject: [PATCH] Change blueprint path --- ckanext/bulkupload/templates/package/snippets/bulk_sucess.html | 2 +- ckanext/bulkupload/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/bulkupload/templates/package/snippets/bulk_sucess.html b/ckanext/bulkupload/templates/package/snippets/bulk_sucess.html index aad3e48..927199b 100644 --- a/ckanext/bulkupload/templates/package/snippets/bulk_sucess.html +++ b/ckanext/bulkupload/templates/package/snippets/bulk_sucess.html @@ -1,3 +1,3 @@ -

{{ _("Bulk upload finished") }}

+

{{ _("Upload finished") }}


{{ _("Notice: Reloading this page will send the same request again and repeat the bulk upload") }}

\ No newline at end of file diff --git a/ckanext/bulkupload/views.py b/ckanext/bulkupload/views.py index 818ff49..f1cb7ec 100644 --- a/ckanext/bulkupload/views.py +++ b/ckanext/bulkupload/views.py @@ -168,7 +168,7 @@ def bulk_resource_upload(pkg_name): ) -bulkupload.add_url_rule("/dataset/busoperator", +bulkupload.add_url_rule("/dataset/new/busoperator", view_func=busoperator, methods=("GET", "POST"))