title: how to get slug of current url in current template
body: <p>In Django template, How to get the slug of the URL I am on in the template so that I can pass it to the template tag.</p>
  
  <p>Example  I am on: foo.com/slugname</p>
  
  <p>then in the template, I am expecting</p>
  
  <pre><code>{% function|slugname%}
  </code></pre>
  
  <p>where 'function' is my template tag.</p>