I think its better to set <code>obj.template = template</code> and just return <code>obj.get_template()</code> in order for placeholders from parent page to be generated.