          Returns a simple string indicating what content was supplied.
          """
          if int(num) > 2:
              return Response(status.HTTP_404_NOT_FOUND)
          return "POST request to AnotherExampleResource %s, with content: %s" % (num, repr(self.CONTENT))
 
</s> remove         return "GET request to AnotherExampleResource %s" % num
 </s> add         return Response("GET request to AnotherExampleResource %s" % num) </s> remove         return pickle.load(open(pathname, 'rb'))
 </s> add         return Response(pickle.load(open(pathname, 'rb'))) </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  </s> remove         return self.CONTENT
 </s> add         return Response(self.CONTENT) </s> remove         return os.remove(pathname)
 </s> add         return Response(os.remove(pathname))
        return Response("POST request to AnotherExampleResource %s, with content: %s" % (num, repr(self.CONTENT)))
          Returns a simple string indicating what content was supplied.
          """
          if int(num) > 2:
              return Response(status.HTTP_404_NOT_FOUND)
        return Response("POST request to AnotherExampleResource %s, with content: %s" % (num, repr(self.CONTENT)))
keep keep keep keep replace
 modified examples, somethin' still broken, can't find what 
examples/resourceexample/views.py