  """
  Tests for content parsing, and form-overloaded content parsing.
  """
  from django.conf.urls.defaults import patterns
  from django.contrib.auth.models import User
  from django.contrib.auth import authenticate, login, logout
  from django.contrib.sessions.middleware import SessionMiddleware
  from django.test import TestCase, Client
  from django.utils import simplejson as json
 
</s> remove from django.conf.urls.defaults import patterns
 </s> add  </s> remove from django.http import HttpResponse
 </s> add  </s> remove from django.test.client import RequestFactory
 </s> add from rest_framework.compat import patterns
  """
  Tests for content parsing, and form-overloaded content parsing.
  """

  from django.contrib.auth.models import User
  from django.contrib.auth import authenticate, login, logout
  from django.contrib.sessions.middleware import SessionMiddleware
  from django.test import TestCase, Client
  from django.utils import simplejson as json
keep keep keep 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/request.py