aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/response.py
diff options
context:
space:
mode:
authorTom Christie2012-12-19 23:12:27 +0000
committerTom Christie2012-12-19 23:12:27 +0000
commita493c83248535c9fa7f78815b16bce7e88bf7966 (patch)
treeb52e34b8b6ecfcc08f0135bc0a503b939e53a3ec /rest_framework/tests/response.py
parentc097bcef586da4513d1d6f357d9eb3d7b4b0fffb (diff)
downloaddjango-rest-framework-a493c83248535c9fa7f78815b16bce7e88bf7966.tar.bz2
urls, patterns, include imports move to compat to support incoming 1.3 thru 1.6 import compatability
Diffstat (limited to 'rest_framework/tests/response.py')
-rw-r--r--rest_framework/tests/response.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/rest_framework/tests/response.py b/rest_framework/tests/response.py
index d7b75450..875f4d42 100644
--- a/rest_framework/tests/response.py
+++ b/rest_framework/tests/response.py
@@ -1,8 +1,5 @@
-import unittest
-
-from django.conf.urls.defaults import patterns, url, include
from django.test import TestCase
-
+from rest_framework.compat import patterns, url, include
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework import status