  
  from django.conf.urls.defaults import patterns, url
  from django.test import TestCase
  
  from djangorestframework import status
  from djangorestframework.views import View
  from djangorestframework.compat import View as DjangoView
  from djangorestframework.renderers import BaseRenderer, JSONRenderer, YAMLRenderer, \
      XMLRenderer, JSONPRenderer, DocumentingHTMLRenderer
  from djangorestframework.parsers import JSONParser, YAMLParser, XMLParser
 
</s> remove from djangorestframework.compat import View as DjangoView
 </s> add  </s> remove from djangorestframework.mixins import ResponseMixin
from djangorestframework.response import Response
 </s> add  </s> remove from djangorestframework.compat import RequestFactory, unittest
 </s> add from djangorestframework.compat import RequestFactory
from djangorestframework.response import Response
  
  from django.conf.urls.defaults import patterns, url
  from django.test import TestCase
  
from djangorestframework.response import Response
  from djangorestframework.views import View
  from djangorestframework.compat import View as DjangoView
  from djangorestframework.renderers import BaseRenderer, JSONRenderer, YAMLRenderer, \
      XMLRenderer, JSONPRenderer, DocumentingHTMLRenderer
  from djangorestframework.parsers import JSONParser, YAMLParser, XMLParser
keep keep keep keep replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/tests/renderers.py