title: redirecting with url_for to a path with query params in flask
body: <p>So let's say I have a template with a couple of links, the links will be like this:</p>
  
  <pre><code>&lt;a class='btn btn-primary' href='/?chart=new_chart&amp;chart=other_chart'&gt;View Summary&lt;/a&gt;
  </code></pre>
  
  <p>However, most of the times when I have done links or included resources, I have used the following syntax:</p>
  
  <pre><code>&lt;script src="{{ url_for('static', filename='some_silly_js') }}"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>is it possible to do a url_for with query parameters? Something like:</p>
  
  <pre><code>&lt;a href="{{ url_for('stats', query_params={chart: [new_chart, other_chart]}) }}&gt;View More&lt;/a&gt;
  </code></pre>