  from django.conf.urls.defaults import patterns
  from django.contrib.auth.models import User
  from django.test import Client, TestCase
  
  from django.utils import simplejson as json
  from django.http import HttpResponse
 
</s> remove from django.http import HttpResponse
 </s> add  </s> remove from django.conf.urls.defaults import patterns
 </s> add  </s> remove from rest_framework.views import APIView
 </s> add 

  from django.contrib.auth.models import User
  from django.test import Client, TestCase
  
  from django.utils import simplejson as json
  from django.http import HttpResponse
replace keep keep keep keep keep
 urls, patterns, include imports move to compat to support incoming 1.3 thru 1.6 import compatability 
rest_framework/tests/authentication.py