  from django.contrib.auth.models import User
  from django.test import TestCase, Client
  from djangorestframework import status
  from djangorestframework.authentication import UserLoggedInAuthentication
  from djangorestframework.compat import RequestFactory, unittest
  from djangorestframework.mixins import RequestMixin
  from djangorestframework.parsers import FormParser, MultiPartParser, \
      PlainTextParser, JSONParser
  from djangorestframework.response import Response
  from djangorestframework.request import Request
 
</s> remove from djangorestframework.compat import View as DjangoView
 </s> add  </s> remove from djangorestframework import status
 </s> add from djangorestframework.response import Response </s> remove from djangorestframework.mixins import ResponseMixin
from djangorestframework.response import Response
 </s> add  </s> remove from django.http import HttpResponse
 </s> add 
from djangorestframework.compat import RequestFactory
  from django.contrib.auth.models import User
  from django.test import TestCase, Client
  from djangorestframework import status
  from djangorestframework.authentication import UserLoggedInAuthentication
from djangorestframework.compat import RequestFactory
  from djangorestframework.mixins import RequestMixin
  from djangorestframework.parsers import FormParser, MultiPartParser, \
      PlainTextParser, JSONParser
  from djangorestframework.response import Response
  from djangorestframework.request import Request
keep keep keep keep replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/tests/request.py