def render(self, name, value, attrs=None, **kwargs):
output = super(Select2Mixin, self).render(<EOL>name, value, attrs=attrs, **kwargs)<EOL>id_ = attrs['<STR_LIT:id>']<EOL>output += self.render_js_code(<EOL>id_, name, value, attrs=attrs, **kwargs)<EOL>return mark_safe(output)<EOL>
Extend base class's `render` method by appending
javascript inline text to html output.