def on_update(self): from frappe.website.utils import clear_cache clear_cache("about")
def on_update(self): """clear cache""" frappe.clear_cache(user = '******') from frappe.website.utils import clear_cache clear_cache()