def singleDashboardView(self, request, id, context):
        head_template = self.head_template
        tail_template = self.tail_template

        view = DashboardView.objects.get(id=id)

        print "XXX", view

        t = template.Template(head_template + self.embedDashboardView(view) + self.tail_template)

        response_kwargs = {}
        response_kwargs.setdefault('content_type', self.content_type)
        return self.response_class(
            request = request,
            template = t,
            context = context,
            **response_kwargs)
dataset/ETHPy150Open open-cloud/xos/xos/core/dashboard/views/home.py/DashboardDynamicView.singleDashboardView/original