          """
          Return a list of all currently existing snippets.
          """
          unique_ids = [os.path.split(f)[1] for f in list_dir_sorted_by_ctime(HIGHLIGHTED_CODE_DIR)]
          return [reverse('pygments-instance', args=[unique_id]) for unique_id in unique_ids]
  
      def post(self, request):
          """
          Create a new highlighed snippet and return it's location.
          For the purposes of the sandbox example, also ensure we delete the oldest snippets if we have > MAX_FILES.
 
</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 {"Some other resources": [reverse('another-example', kwargs={'num':num}) for num in range(3)]}
 </s> add         return {"Some other resources": [reverse('another-example', request, kwargs={'num':num}) for num in range(3)]} </s> remove from django.core.urlresolvers import reverse
 </s> add  </s> remove from django.core.urlresolvers import reverse
 </s> add from djangorestframework.utils import reverse </s> remove         return reverse('comments', kwargs={'blogpost': instance.key})
 </s> add         return reverse('comments', request, kwargs={'blogpost': instance.key})
        return [reverse('pygments-instance', request, args=[unique_id]) for unique_id in unique_ids]
          """
          Return a list of all currently existing snippets.
          """
          unique_ids = [os.path.split(f)[1] for f in list_dir_sorted_by_ctime(HIGHLIGHTED_CODE_DIR)]
        return [reverse('pygments-instance', request, args=[unique_id]) for unique_id in unique_ids]
  
      def post(self, request):
          """
          Create a new highlighed snippet and return it's location.
          For the purposes of the sandbox example, also ensure we delete the oldest snippets if we have > MAX_FILES.
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