Flashing message to the template by flash() function.
flash(message, category='message')
flash('hello, world!')
flash('This is a warning message', 'warning')
messagethe message to be flashed.categorythe message's category, the default is message.
Template
Inheritance
API