  from django.conf.urls.defaults import patterns
  
  urlpatterns = patterns('pygments_api.views',
      (r'^$', 'PygmentsRoot'), 
      (r'^([a-zA-Z0-9]+)/$', 'PygmentsInstance'),
  )
 
</s> remove     (r'^$', 'RootResource'),   
    (r'^blog-posts/$', 'BlogPostList'),
    (r'^blog-post/$', 'BlogPostCreator'),
    (r'^blog-post/(?P<key>[^/]+)/$', 'BlogPostInstance'),
    (r'^blog-post/(?P<blogpost_id>[^/]+)/comments/$', 'CommentList'),
    (r'^blog-post/(?P<blogpost_id>[^/]+)/comment/$', 'CommentCreator'),
    (r'^blog-post/(?P<blogpost>[^/]+)/comments/(?P<id>[^/]+)/$', 'CommentInstance'),
 </s> add     (r'^$', 'BlogPostRoot'),
    (r'^(?P<key>[^/]+)/$', 'BlogPostInstance'),
    (r'^(?P<blogpost_id>[^/]+)/comments/$', 'CommentRoot'),
    (r'^(?P<blogpost>[^/]+)/comments/(?P<id>[^/]+)/$', 'CommentInstance'), </s> remove ##### Root Resource #####

class RootResource(Resource):
    """This is the top level resource for the API.
    All the sub-resources are discoverable from here."""
    allowed_methods = ('GET',)

    def get(self, request, *args, **kwargs):
        return Response(status.HTTP_200_OK,
                        {'blog-posts': self.reverse(BlogPostList),
                         'blog-post': self.reverse(BlogPostCreator)})


##### Blog Post Resources #####

 </s> add  </s> remove import httplib2 as httplib


 </s> add  </s> remove import hashlib
 </s> add import uuid
import operator </s> remove from flywheel.modelresource import ModelResource, QueryModelResource
 </s> add from flywheel.modelresource import ModelResource, RootModelResource
    (r'^([a-zA-Z0-9-]+)/$', 'PygmentsInstance'),
  from django.conf.urls.defaults import patterns
  
  urlpatterns = patterns('pygments_api.views',
      (r'^$', 'PygmentsRoot'), 
    (r'^([a-zA-Z0-9-]+)/$', 'PygmentsInstance'),
  )
keep keep keep keep replace keep
 Lots of docs, trying to tidy up examples... 
examples/pygments_api/urls.py