[Django]-Django – Custom Template Tag passing keyword args

9👍

Here you are :

A tag that parses args ang kwargs like the url tag:

{% get_with_args_and_kwargs somevar,"sometext",kwarg1=someothervar %}

http://djangosnippets.org/snippets/1113/

5👍

Nowadays this work as you’d expect, see the docs.

Leave a comment