@register.inclusion_tag(engine.get_template('inclusion.html'), takes_context=True)
def inclusion_params_and_context_from_template(context, arg):
 return {'result': ('inclusion_params_and_context_from_template - Expected result (context value: %s): %s' % (context['value'], arg))}

@ register . inclusion_tag ( engine . get_template ( 'inclusion.html' ) , takes_context = True ) def inclusion_params_and_context_from_template ( context , arg ) : return { 'result' : ( 'inclusion_params_and_context_from_template - Expected result (context value: %s): %s' % ( context [ 'value' ] , arg ) ) }
expected inclusion_params_and_context_from_template __doc__ .