  
  import itertools
  from collections import namedtuple
  from django.conf.urls import url
  from django.core.exceptions import ImproperlyConfigured
  from django.core.urlresolvers import NoReverseMatch
  from rest_framework import views
  from rest_framework.compat import get_resolver_match, OrderedDict
  from rest_framework.response import Response
  from rest_framework.reverse import reverse
 
</s> remove from rest_framework.compat import get_resolver_match, OrderedDict
from rest_framework.response import Response
 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
from django.db import models
 </s> add  </s> remove from django.utils.six.moves.urllib import parse as urlparse
 </s> add from django.template import Context, loader
  
  import itertools
  from collections import namedtuple
  from django.conf.urls import url

  from django.core.urlresolvers import NoReverseMatch
  from rest_framework import views
  from rest_framework.compat import get_resolver_match, OrderedDict
  from rest_framework.response import Response
  from rest_framework.reverse import reverse
keep keep keep keep replace keep keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/routers.py