  
      from djangorestframework.modelresource import ModelResource, ModelRootResource
      from models import MyModel
  
      class MyModelRootResource(ModelRootResource):
  	"""A create/list resource for MyModel."""
          allowed_methods = ('GET', 'POST')
          model = MyModel
  
      class MyModelResource(ModelResource):
  	"""A read/update/delete resource for MyModel."""
          allowed_methods = ('GET', 'PUT', 'DELETE')
          model = MyModel
 
</s> remove     class MyModelResource(ModelResource):
	"""A read/update/delete resource for MyModel."""
        allowed_methods = ('GET', 'PUT', 'DELETE')
        model = MyModel

``urls.py``::

    urlpatterns += patterns('myapp.views',
        url(r'^mymodel/$',         'MyModelRootResource'), 
        url(r'^mymodel/([^/]+)/$', 'MyModelResource'), 
    )
 </s> add .. include:: ../examples/simpleexample/views.py
    :literal: </s> remove     from djangorestframework.modelresource import ModelResource, ModelRootResource
    from models import MyModel
 </s> add .. include:: ../examples/simpleexample/urls.py
    :literal: </s> remove ``views.py``::
 </s> add ``urls.py`` </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'),} </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
``views.py``
  
      from djangorestframework.modelresource import ModelResource, ModelRootResource
      from models import MyModel
  
``views.py``
``views.py``
``views.py``
``views.py``
  
      class MyModelResource(ModelResource):
  	"""A read/update/delete resource for MyModel."""
          allowed_methods = ('GET', 'PUT', 'DELETE')
          model = MyModel
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Rename to django-rest-framework, get simpleexample working 
docs/index.rst