def flash_no_redirect(self): tg.flash("Wow, flash!") return tg.get_flash()
def flash_after_redirect(self): return tg.get_flash()