i also need refresh backend data when data changed in my case im also using multipage i jzt need one page only reload automatically
but your case you are using one button for triggering refresh
im couldn’t understand the location.reload()
at “location” what i need to give
location means shall i give like this?
def myfun(x):
if x:
return “(‘http://127.0.0.1:8000/events/daily’).reload()”
return “”