Forums

How to Reload inside of HTML without the need to use the RELOAD on The Web Tab

Hi guys,

My web app is currently working just find and it is live. However, the problem is that everytime I want to upload files through my web-app, I had to hit Reload on The Web Tab of PythonAnywhere, how can this can the reload inside of my html?

Thanks a lot in advance

If you are changing the dynamic python code, you will have to reload. We do graceful reloads, so any requests that were being processed when you hit reload will still finish processing. However, any requests that come in during the reload might see an error or be 302'd until the your webapp is back up.

If you just want to change static html, then if you are serving it out of a template/separate file that your dynamic code reads from (eg: django templates), then you can just change the html directly without a reload.