  
  import sys, os
  
  sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
  sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'flywheel'))
  sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'examples'))
  import settings
  from django.core.management import setup_environ
  setup_environ(settings)
  
 
</s> remove from flywheel.resource import Resource
from flywheel.response import Response, status
 </s> add from djangorestframework.resource import Resource
from djangorestframework.response import Response, status </s> remove from flywheel.resource import Resource
from flywheel.response import Response, status
from flywheel.emitters import BaseEmitter
 </s> add from djangorestframework.resource import Resource
from djangorestframework.response import Response, status
from djangorestframework.emitters import BaseEmitter </s> remove from flywheel.response import Response, status
from flywheel.resource import Resource
from flywheel.modelresource import ModelResource, RootModelResource
 </s> add from djangorestframework.response import Response, status
from djangorestframework.resource import Resource
from djangorestframework.modelresource import ModelResource, RootModelResource </s> remove admin.autodiscover()
 </s> add  </s> remove from django.contrib import admin
 </s> add #from django.contrib import admin
from djangorestframework.resource import Resource

#admin.autodiscover()

class RootResource(Resource):
    allowed_methods = anon_allowed_methods = ('GET',)

    def get(self, request, auth):
        return {'simple example': self.reverse('simpleexample.views.MyModelRootResource'),
                'pygments example': self.reverse('pygments_api.views.PygmentsRoot'),
                'object store example': self.reverse('objectstore.views.ObjectStoreRoot'),
                'blog post example': self.reverse('blogpost.views.BlogPostRoot'),}
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'djangorestframework'))
  
  import sys, os
  
  sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'djangorestframework'))
  sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'examples'))
  import settings
  from django.core.management import setup_environ
  setup_environ(settings)
  
keep keep keep keep replace keep keep keep keep keep
 Rename to django-rest-framework, get simpleexample working 
docs/conf.py