Search for a setting named ``template_<name>`` and renders it.
        If one is not defined it uses the default template of the library
        at ``autchode/templates/<name>,html``.

        To render the template uses the ``render`` function, a property that
        has been probably overwritten in a ``auth.setup_for_something``
        function (eg. ``setup_for_flask``).

def render_template(self, name, **kwargs):
        """Search for a setting named ``template_<name>`` and renders it.
        If one is not defined it uses the default template of the library
        at ``autchode/templates/<name>,html``.

        To render the template uses the ``render`` function, a property that
        has been probably overwritten in a ``auth.setup_for_something``
        function (eg. ``setup_for_flask``).
        """
        custom_template = getattr(self, 'template_' + name)
        if custom_template:
            return self.render(custom_template, **kwargs)
        template = TEMPLATES.get(name)
        return self.default_render(template, **kwargs)