def render(self, context):
        if not context in 'request':
            raise AttributeError(_("Please add 'django.core.context_processors.request' "
                "'to your settings.TEMPLATE_CONTEXT_PROCESSORS'"))

        button = ''.join([resolve(bit, context) for bit in self.params])
        
        return template.loader.render_to_string(self.template_name, {
                'button': button}, context)
dataset/ETHPy150Open flashingpumpkin/django-socialregistration/socialregistration/templatetags/__init__.py/ButtonTag.render/swapped operands of `in`