From 745cabcfccdf14cc04b4679ef0d522c736bb00d4 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Fri, 29 Dec 2023 22:47:36 +0100 Subject: [PATCH] Change: redirect to uploaded file on success --- archivist/apps/files/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivist/apps/files/views.py b/archivist/apps/files/views.py index 5445b88..da14ff6 100644 --- a/archivist/apps/files/views.py +++ b/archivist/apps/files/views.py @@ -73,7 +73,7 @@ def fileUpload(request): new_submission_file.save - return HttpResponseRedirect("/") + return HttpResponseRedirect(f"/files/submission/{file_hash}") else: form = UploadFileForm()