Skip to content

Commit 752c014

Browse files
Fix Django 1.3 compat with routers
1 parent f9aeb68 commit 752c014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/routers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from __future__ import unicode_literals
1717

1818
from collections import namedtuple
19-
from django.conf.urls import url, patterns
19+
from rest_framework.compat import patterns, url
2020
from rest_framework.decorators import api_view
2121
from rest_framework.response import Response
2222
from rest_framework.reverse import reverse

0 commit comments

Comments
 (0)