Forums

Views not displaying updated html page

In my views when I get a request it writes a table to a html file then displays it. Problem is it only works once then Django seems to only render that old table anytime the view is hit The view does write the table to the html file each time It just seems to have a memory of the first html file and not redirect to the new one Until i Go back and hit the green button to reload then it will work again. Im thinking it must some memory issue? Doesnt do that on my local computer. Will just render the new html file each time

I think it must be a cache issue. Does anyone know how to disable the cache or clear it?

See https://help.pythonanywhere.com/pages/GlobalStateAndWebApps/

Thanks Ive fixed now