title: Flask, one flash message not getting displayed
body: <p>I know flash is set up properly as all other flash messages are being displayed correctly.</p>
  
  <p>I have updated one view. It used to call the flask route from a javascript window.location function but now am using $.post() to send parameters to the route. </p>
  
  <p>The location of the flash call hasn't changed (I put a print statement just before it and that executes so I know the interpreter gets to the flash call). </p>
  
  <p>All code in the route's method executes correctly but the flash message does not show and I am at a loss. Nothing coming up from Google searches.</p>
  
  <p>Here are the last 3 lines in the route method</p>
  
  <pre><code>db.session.commit()
  flash('Database Updated')
  return redirect(url_for('index'))
  </code></pre>