@register.inclusion_tag(engine.get_template('inclusion.html'))
def inclusion_unlimited_args_from_template(one, two='hi', *args):
 return {'result': ('inclusion_unlimited_args_from_template - Expected result: %s' % ', '.join((str(arg) for arg in ([one, two] + list(args)))))}

@ register . inclusion_tag ( engine . get_template ( 'inclusion.html' ) ) def inclusion_unlimited_args_from_template ( one , two = 'hi' , * args ) : return { 'result' : ( 'inclusion_unlimited_args_from_template - Expected result: %s' % ', ' . join ( ( str ( arg ) for arg in ( [ one , two ] + list ( args ) ) ) ) ) }
expected inclusion_unlimited_args_from_template __doc__ .