From 35082948dcbc2dbdda1bf2086b4e396df1153471 Mon Sep 17 00:00:00 2001 From: James B Date: Fri, 9 Jun 2023 16:22:11 +0100 Subject: [PATCH] bugfix: Uploading spreadsheet was broken Broken in 382f85dc https://github.com/Open-Telecoms-Data/cove-ofds/issues/95 --- cove_ofds/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cove_ofds/views.py b/cove_ofds/views.py index bb44d16..a7773cb 100644 --- a/cove_ofds/views.py +++ b/cove_ofds/views.py @@ -139,7 +139,7 @@ class NewSpreadsheetInput(InputDataView): content_type_incorrect_message = "This does not appear to be a spreadsheet." allowed_file_extensions = settings.ALLOWED_SPREADSHEET_EXTENSIONS file_extension_incorrect_message = "This does not appear to be a spreadsheet." - supplied_data_format = "csvs" + supplied_data_format = "spreadsheet" def get_active_form_key(self, forms, request_data): return "upload_form"