title: Redirect to one Flask view from another
body: <p>I have a view that is accessed by clicking a link on the index page.  The view will perform an action and should then show the index page again.  My view does that, but the url is still the url of the action view, not the index view.  How can I redirect back to the index view?</p>
  
  <pre><code>@app.route('/')
  def index():
      return render_template('index.html')
  
  @app.route('/u1/')
  def u1():
     # do something
     return render_template('index.html')
  </code></pre>