After uploading a file, the page does not automatically refresh. I'm having trouble doing this with Flask's return render_template() and return redirect(). @bciar I'm wondering if you could help.
Screenshot 1 - load /admin
Screenshot 2 - select a file; it automatically makes post request, but page does not change
Screenshot 3 - after I refresh the page with ctrl+r, now I can see the new data. but I want this to be refreshed automatically
Attachments
This is the file I uploaded. I think you will need to set up your database first if you want to upload this.
api_data-2018.03.19-v29-SAS.xlsx.zip
Description
After uploading a file, the page does not automatically refresh. I'm having trouble doing this with Flask's
return render_template()
andreturn redirect()
. @bciar I'm wondering if you could help.Screenshot 1 - load /admin
Screenshot 2 - select a file; it automatically makes post request, but page does not change
Screenshot 3 - after I refresh the page with ctrl+r, now I can see the new data. but I want this to be refreshed automatically
Attachments