 <p>The output will be :</p> <pre><code> /url/absolute/depending.on.urls.py </code></pre> <p>To use it with an "a" just do :</p> <pre><code>&lt;a href="{% url 'polls:detail' poll.id %}"&gt;Poll {{ poll.id }}&lt;/a&gt; </code></pre>