title: How do I call render_template() once per minute flask
body: <p>I am new to Flask.  How do I call render_template('prices.html', stock_price) once every minute for a given page that is fed by constantly changing data?</p>
  
  <p>I tried this: </p>
  
  <pre><code>throttle.Throttle(period=60) # 60 second throttle
  while True:
     stock_price = get_stock_price()
     render_template('prices.html', stock_price=stock_price)
     throttle.check() # Check if 60 seconds have passed otherwise sleep
  </code></pre>
  
  <p>The only thing that does work is <code>return render_template(...)</code>. Apparently render_template() must be part of a return-statement. Unfortunately, once return is called the game is over.</p>
  
  <p>How do I accomplish this?  I'm assuming it is just ignorance on my part.</p>