aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/routers.py
diff options
context:
space:
mode:
authorTom Christie2013-05-14 10:01:05 +0100
committerTom Christie2013-05-14 10:01:05 +0100
commit752c01420f7574cd99e28a17d56df711b675ce71 (patch)
tree4a9930cc0b913f456106c722934361b2ece060ad /rest_framework/routers.py
parentf9aeb6838379c301ebd2019a49b806c13749261a (diff)
downloaddjango-rest-framework-752c01420f7574cd99e28a17d56df711b675ce71.tar.bz2
Fix Django 1.3 compat with routers
Diffstat (limited to 'rest_framework/routers.py')
-rw-r--r--rest_framework/routers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/routers.py b/rest_framework/routers.py
index 0707635a..ed4dc338 100644
--- a/rest_framework/routers.py
+++ b/rest_framework/routers.py
@@ -16,7 +16,7 @@ For example, you might have a `urls.py` that looks something like this:
from __future__ import unicode_literals
from collections import namedtuple
-from django.conf.urls import url, patterns
+from rest_framework.compat import patterns, url
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.reverse import reverse