  from __future__ import unicode_literals
  from django.db import models
  from django.test import TestCase
  from django.test.client import RequestFactory
  from rest_framework import serializers, viewsets, permissions
  from rest_framework.compat import include, patterns, url
  from rest_framework.decorators import link, action
  from rest_framework.response import Response
  from rest_framework.routers import SimpleRouter, DefaultRouter
  
 
</s>
from django.core.exceptions import ImproperlyConfigured
  from __future__ import unicode_literals
  from django.db import models
  from django.test import TestCase
  from django.test.client import RequestFactory
from django.core.exceptions import ImproperlyConfigured
  from rest_framework import serializers, viewsets, permissions
  from rest_framework.compat import include, patterns, url
  from rest_framework.decorators import link, action
  from rest_framework.response import Response
  from rest_framework.routers import SimpleRouter, DefaultRouter
  
keep keep keep add keep keep keep keep keep keep
 Raise exception when attempting to dynamically route to a method that is already routed to. Fixes #940
rest_framework/tests/test_routers.py