Variablen in URL_FOR Flask Jinja
In my case:
<td><a href="{{ url_for('main.edit_question', id=question[0].id) }}" class="btn btn-default pull-right">Edit</a></td>
Forgot to add the "main." portion...
namesaq