Starting with 1.2.1, you can pass arguments to inclusion tags.
Here is an example from my mods in django vote templatetags
@register.inclusion_tag("voting/vote_form.html", takes_context=True)
def vote_form(context, vote_object, vote_dict, score_dict):
if isinstance(vote_dict, dict):
and the template looks like this:
{% vote_form bookmark vote_dict score_dict %}
, , - , , .
, , take_context, , , .
* args , - , # , .