  from djangorestframework.response import Response
  from djangorestframework.renderers import BaseRenderer
  from djangorestframework import status
  
  from pygments.formatters import HtmlFormatter
  from pygments.lexers import get_lexer_by_name
  from pygments import highlight
 
</s> remove from djangorestframework.resource import Resource
 </s> add from djangorestframework.resources import FormResource </s> remove from djangorestframework.resource import Resource
 </s> add from djangorestframework.views import BaseView
from djangorestframework.resources import FormResource </s> remove from djangorestframework.resource import Resource
 </s> add from djangorestframework.views import BaseView </s> remove from modelresourceexample.views import MyModelRootResource, MyModelResource
 </s> add from djangorestframework.views import ListOrCreateModelView, InstanceModelView
from djangorestframework.resources import ModelResource
from modelresourceexample.models import MyModel

class MyModelResource(ModelResource):
    model = MyModel
    fields = ('foo', 'bar', 'baz', 'url')
    ordering = ('created',)
from djangorestframework.views import BaseView
  from djangorestframework.response import Response
  from djangorestframework.renderers import BaseRenderer
from djangorestframework.views import BaseView
  from djangorestframework import status
  
  from pygments.formatters import HtmlFormatter
  from pygments.lexers import get_lexer_by_name
  from pygments import highlight
keep add keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py