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.
Example I am on: foo.com/slugname
then in the template, I am expecting
{% function|slugname%}
where 'function' is my template tag.