Variables dans 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