Change: redirect to uploaded file on success
This commit is contained in:
parent
ddc2259621
commit
745cabcfcc
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ def fileUpload(request):
|
||||||
|
|
||||||
new_submission_file.save
|
new_submission_file.save
|
||||||
|
|
||||||
return HttpResponseRedirect("/")
|
return HttpResponseRedirect(f"/files/submission/{file_hash}")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
form = UploadFileForm()
|
form = UploadFileForm()
|
||||||
|
|
Loading…
Reference in a new issue