Using getattr in Jinja2 gives me an error (jinja2.exceptions.UndefinedError: 'getattr' is undefined)
<p>With regular python, I could get <code>getattr(object, att)</code> but in Jinja2, I get: </p>

<pre><code>jinja2.exceptions.UndefinedError
jinja2.exceptions.UndefinedError: 'getattr' is undefined
</code></pre>

<p>How can I use it?</p>