  
          return Response(status.HTTP_201_CREATED, headers={'Location': reverse('pygments-instance', args=[unique_id])})
  
  
  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."""
      renderers = (HTMLRenderer,)
  
      def get(self, request, unique_id):
          """Return the highlighted snippet."""
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
 
</s> remove         """Return the highlighted snippet."""
 </s> add         """
        Return the highlighted snippet.
        """ </s> remove         """Delete the highlighted snippet."""
 </s> add         """
        Delete the highlighted snippet.
        """ </s> remove class PygmentsRoot(Resource):
    """This example demonstrates a simple RESTful Web API aound the awesome pygments library.
    This top level resource is used to create highlighted code snippets, and to list all the existing code snippets."""
 </s> add class PygmentsFormResource(FormResource):
    """
    """ </s> remove         """Return a list of all currently existing snippets."""
 </s> add         """
        Return a list of all currently existing snippets.
        """
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.
    """
  
          return Response(status.HTTP_201_CREATED, headers={'Location': reverse('pygments-instance', args=[unique_id])})
  
  
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.
    """
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.
    """
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.
    """
      renderers = (HTMLRenderer,)
  
      def get(self, request, unique_id):
          """Return the highlighted snippet."""
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
keep keep keep keep replace replace replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py