title: Django template tag: How to send next_page in {url auth_logout}?
body: <p>I have an urls.py with this line:</p>
  
  <pre><code>url(r'^logout/$', 'django.contrib.auth.views.logout', name="auth_logout"),
  </code></pre>
  
  <p>In my template tag i have this line:</p>
  
  <pre><code>&lt;a href="{% url auth_logout %}"&gt;Logout&lt;/a&gt;
  </code></pre>
  
  <p>Now, I would like to add the next_page param to the url templatetag, but I can't get it to work. I have tried this:</p>
  
  <pre><code>{% url auth_logout request.path %}"
  </code></pre>
  
  <p>...and this:</p>
  
  <pre><code>{% url auth_logout request,request.path %}
  </code></pre>
  
  <p>But none of them works. How can I provide the function with the optional next_page paramter usinging the url templatetag?</p>
  
  <p>Thanks!</p>