Generate random number with jinja2 : <p>I need to generate a random number between 1 and 50. Aparently the random filter needs a <a href="http://jinja.pocoo.org/docs/dev/templates/#random" rel="noreferrer">sequence</a>. How can I create a list with numbers from 1 to 50 in Jinja? </p>

<pre><code>{{ [1,n,50]|random() }}
</code></pre>
