              return Response(status.HTTP_404_NOT_FOUND)
          return open(pathname, 'r').read()
  
      def delete(self, request, unique_id):
          """Delete the highlighted snippet."""
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
          if not os.path.exists(pathname):
              return Response(status.HTTP_404_NOT_FOUND)
          return os.remove(pathname)
  
 
</s> remove         """Return the highlighted snippet."""
 </s> add         """
        Return the highlighted snippet.
        """ </s> remove     def delete(self, request, auth, key):
        """Delete a stored object, by removing it's pickled file."""
 </s> add     def delete(self, request):
        """
        Delete a stored object, by removing it's pickled file.
        """ </s> remove     def put(self, request, auth, content, key):
        """Update/create a stored object, by pickling the request content to a locally stored file."""
 </s> add     def put(self, request, key):
        """
        Update/create a stored object, by pickling the request content to a locally stored file.
        """ </s> remove         pickle.dump(content, open(pathname, 'wb'))
        return content
 </s> add         pickle.dump(self.CONTENT, open(pathname, 'wb'))
        return self.CONTENT </s> remove class PygmentsInstance(Resource):
    """Simply return the stored highlighted HTML file with the correct mime type.
    This Resource only renders HTML and uses a standard HTML renderer rather than the renderers.DocumentingHTMLRenderer class."""
 </s> add class PygmentsInstance(BaseView):
    """
    Simply return the stored highlighted HTML file with the correct mime type.
    This Resource only renders HTML and uses a standard HTML renderer rather than the renderers.DocumentingHTMLRenderer class.
    """
        """
        Delete the highlighted snippet.
        """
              return Response(status.HTTP_404_NOT_FOUND)
          return open(pathname, 'r').read()
  
      def delete(self, request, unique_id):
        """
        Delete the highlighted snippet.
        """
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
          if not os.path.exists(pathname):
              return Response(status.HTTP_404_NOT_FOUND)
          return os.remove(pathname)
  
keep keep keep keep replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py