  from django.test import TestCase
  from django.utils import simplejson as json
  
  from djangorestframework.views import View
  
  
  class MockView(View):
      """Mock resource which simply returns a URL, so that we can ensure that reversed URLs are fully qualified"""
      permissions = ()
  
 
</s> remove         return reverse('another')
 </s> add         return Response(reverse('another')) </s> remove from djangorestframework.compat import View as DjangoView
 </s> add  </s> remove from djangorestframework import status
 </s> add from djangorestframework.response import Response
from djangorestframework.response import Response
  from django.test import TestCase
  from django.utils import simplejson as json
  
  from djangorestframework.views import View
from djangorestframework.response import Response
  
  
  class MockView(View):
      """Mock resource which simply returns a URL, so that we can ensure that reversed URLs are fully qualified"""
      permissions = ()
  
keep keep keep add keep keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/tests/reverse.py