              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])})
  
  
  class PygmentsInstance(View):
      """
      Simply return the stored highlighted HTML file with the correct mime type.
 
</s> remove         return Response(status.HTTP_201_CREATED, self.CONTENT, {'Location': reverse('stored-object', kwargs={'key':key})})
 </s> add         return Response(status.HTTP_201_CREATED, self.CONTENT, {'Location': reverse('stored-object', request, kwargs={'key':key})}) </s> remove from django.core.urlresolvers import reverse
 </s> add from djangorestframework.utils import reverse </s> remove         return [reverse('stored-object', kwargs={'key':key}) for key in ctime_sorted_basenames]
 </s> add         return [reverse('stored-object', request, kwargs={'key':key}) for key in ctime_sorted_basenames] </s> remove         return [reverse('pygments-instance', args=[unique_id]) for unique_id in unique_ids]
 </s> add         return [reverse('pygments-instance', request, args=[unique_id]) for unique_id in unique_ids] </s> remove         return reverse('comments', kwargs={'blogpost': instance.key})
 </s> add         return reverse('comments', request, kwargs={'blogpost': instance.key})
        return Response(status.HTTP_201_CREATED, headers={'Location': reverse('pygments-instance', request, args=[unique_id])})
              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', request, args=[unique_id])})
  
  
  class PygmentsInstance(View):
      """
      Simply return the stored highlighted HTML file with the correct mime type.
keep keep keep keep replace keep keep keep keep keep
 Update examples to use the new custom `reverse()'

This fixes #167 except for the docs 
examples/pygments_api/views.py