Change: redirect to uploaded file on success

This commit is contained in:
Aroy-Art 2023-12-29 22:47:36 +01:00
parent ddc2259621
commit 745cabcfcc
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -73,7 +73,7 @@ def fileUpload(request):
new_submission_file.save
return HttpResponseRedirect("/")
return HttpResponseRedirect(f"/files/submission/{file_hash}")
else:
form = UploadFileForm()