  
      permissions = (IsAuthenticated, )
  
      def get(self, request):
          return 'You have permission to view this resource'
 
</s> remove         return [
 </s> add         return Response([ </s> remove         response = Response(200, {'description': 'Some example content',
                                  'url': reverse('mixin-view')})
        return self.render(response)
 </s> add         response = Response({'description': 'Some example content',
                                  'url': reverse('mixin-view')}, status=200)
        return self.prepare_response(response) </s> remove     renderers = DEFAULT_RENDERERS
 </s> add     renderer_classes = DEFAULT_RENDERERS </s> remove         return [reverse('pygments-instance', args=[unique_id]) for unique_id in unique_ids]
 </s> add         return Response([reverse('pygments-instance', args=[unique_id]) for unique_id in unique_ids]) </s> remove 
class MockView(DRFView):
    """
    A view that just acts as a proxy to call non-djangorestframework views, while still
    displaying the browsable API interface.
    """

    view_class = None

    def dispatch(self, request, *args, **kwargs):
        self.request = request
        if self.get_request().method in ['PUT', 'POST']:
            self.response = self.view_class.as_view()(request, *args, **kwargs)
        return super(MockView, self).dispatch(request, *args, **kwargs)

    def get(self, request, *args, **kwargs):
        return

    def put(self, request, *args, **kwargs):
        return self.response.content

    def post(self, request, *args, **kwargs):
        return self.response.content

    def __getattribute__(self, name):
        if name == '__name__':
            return self.view_class.__name__
        elif name == '__doc__':
            return self.view_class.__doc__
        else:
            return super(MockView, self).__getattribute__(name)

 </s> add 
        return Response('You have permission to view this resource')
  
      permissions = (IsAuthenticated, )
  
      def get(self, request):
        return Response('You have permission to view this resource')
keep keep keep keep replace
 modified examples, somethin' still broken, can't find what 
examples/permissionsexample/views.py