flask post request will not flash code example Example: flask flash flash(u'Invalid password provided', 'error')