          options = {'title': content['title']} if content['title'] else {}
          formatter = HtmlFormatter(style=content['style'], linenos=linenos, full=True, **options)
          
          with open(pathname, 'w') as outfile:
              highlight(content['code'], lexer, formatter, outfile)
          
          remove_oldest_files(HIGHLIGHTED_CODE_DIR, MAX_FILES)
  
          return Response(status.HTTP_201_CREATED, headers={'Location': reverse('pygments-instance', args=[unique_id])})
  
 
</s> remove         lexer = get_lexer_by_name(content['lexer'])
        linenos = 'table' if content['linenos'] else False
        options = {'title': content['title']} if content['title'] else {}
        formatter = HtmlFormatter(style=content['style'], linenos=linenos, full=True, **options)
 </s> add         lexer = get_lexer_by_name(self.CONTENT['lexer'])
        linenos = 'table' if self.CONTENT['linenos'] else False
        options = {'title': self.CONTENT['title']} if self.CONTENT['title'] else {}
        formatter = HtmlFormatter(style=self.CONTENT['style'], linenos=linenos, full=True, **options) </s> remove     put = delete = http_method_not_allowed
 </s> add     put = delete = None </s> remove     post = put = delete = http_method_not_allowed </s> add  </s> remove     def delete(self, request, auth, unique_id):
 </s> add     def delete(self, request, unique_id): </s> remove             return Resource(status.HTTP_404_NOT_FOUND)
 </s> add             return Response(status.HTTP_404_NOT_FOUND)
            highlight(self.CONTENT['code'], lexer, formatter, outfile)
          options = {'title': content['title']} if content['title'] else {}
          formatter = HtmlFormatter(style=content['style'], linenos=linenos, full=True, **options)
          
          with open(pathname, 'w') as outfile:
            highlight(self.CONTENT['code'], lexer, formatter, outfile)
          
          remove_oldest_files(HIGHLIGHTED_CODE_DIR, MAX_FILES)
  
          return Response(status.HTTP_201_CREATED, headers={'Location': reverse('pygments-instance', args=[unique_id])})
  
keep keep keep keep replace keep keep keep keep keep
 Fix up tests and examples after refactoring 
examples/pygments_api/views.py