Hi, I'm very new to python and web2py so possibly not using the correct language to describe what I'm after but here goes...
In my web2py app I have a python module that generates a random quote from a Google spreadsheet (using gspread). I've managed to get so far as displaying the random quote in my web2py app. I've added in an html 'refresh' button to the page, but when I refresh the page the quote stays the same. How do I make the python script run again each time I refresh the page?
I have tried adding session.forget(response) to the default.py controller but this doesn't seem to have done anything.
I also tried adding from gluon.custom_import import track_changes; track_changes(True) to the db.py model and this doesn't seem to have done anything either.