  from django.conf.urls.defaults import patterns, url
  from django.test import TestCase
  from django.test.client import RequestFactory
  from django.utils import simplejson as json
  from rest_framework import generics, status, serializers
  from rest_framework.tests.models import Anchor, BasicModel, ManyToManyModel, BlogPost, BlogPostComment, Album, Photo, OptionalRelationModel
 
</s> remove from django.conf.urls.defaults import patterns, url, include
 </s> add  </s> remove from django.conf.urls.defaults import patterns
 </s> add  </s> remove from django.conf.urls import patterns, url
 </s> add 

  from django.test import TestCase
  from django.test.client import RequestFactory
  from django.utils import simplejson as json
  from rest_framework import generics, status, serializers
  from rest_framework.tests.models import Anchor, BasicModel, ManyToManyModel, BlogPost, BlogPostComment, Album, Photo, OptionalRelationModel
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/hyperlinkedserializers.py