Is it possible to pass query parameters via Django’s {% url %} template tag?

No, because the GET parameters are not part of the URL.

Simply add them to the end:

<a href="https://stackoverflow.com/questions/4591525/{% url myview %}?office=foobar">

For Django 1.5+

<a href="https://stackoverflow.com/questions/4591525/{% url"myview' %}?office=foobar">

Leave a Comment