def get_renderer_context(self):
        renderer_context = super(OrderView, self).get_renderer_context()
        if self.request.accepted_renderer.format == 'html':
            renderer_context['many'] = self.many
            if self.many is False:
                # add an extra ance to the breadcrumb
                try:
                    renderer_context['extra_ance'] = self.get_object().get_number()
                except (__HOLE__, PermissionDenied):
                    pass
        return renderer_context
dataset/ETHPy150Open awesto/django-shop/shop/views/order.py/OrderView.get_renderer_context