diff options
| author | Tom Christie | 2012-12-19 23:12:27 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-12-19 23:12:27 +0000 |
| commit | a493c83248535c9fa7f78815b16bce7e88bf7966 (patch) | |
| tree | b52e34b8b6ecfcc08f0135bc0a503b939e53a3ec /rest_framework/tests/hyperlinkedserializers.py | |
| parent | c097bcef586da4513d1d6f357d9eb3d7b4b0fffb (diff) | |
| download | django-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/hyperlinkedserializers.py')
| -rw-r--r-- | rest_framework/tests/hyperlinkedserializers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/hyperlinkedserializers.py b/rest_framework/tests/hyperlinkedserializers.py index 24bf61bf..ee4d8e57 100644 --- a/rest_framework/tests/hyperlinkedserializers.py +++ b/rest_framework/tests/hyperlinkedserializers.py @@ -1,8 +1,8 @@ -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.compat import patterns, url from rest_framework.tests.models import Anchor, BasicModel, ManyToManyModel, BlogPost, BlogPostComment, Album, Photo, OptionalRelationModel factory = RequestFactory() |
