def render_to_response(self, context):
        "Returns a JSON response containing 'context' as payload"
        if 'success' not in context:
            context['success'] = True
        return self.get_json_response(self.convert_context_to_json(context))
dataset/ETHPy150Open tangentlabs/django-fancypages/fancypages/mixins.py/JSONResponseMixin.render_to_response/original