aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/urls.py
diff options
context:
space:
mode:
authorMark Aaron Shirley2012-12-19 15:24:22 -0800
committerMark Aaron Shirley2012-12-19 15:24:22 -0800
commit2f5582a1a6d8a79bfab7ffbc2d8b602fdae8e640 (patch)
tree12e82ef942a21d456b33f6aacf90784a81feddc1 /rest_framework/urls.py
parent5c680c36e435ffa29ba6ed5f439d22ea4e849c67 (diff)
parentc27295dcbdf89b3cbc10d6325833e428c66c0f2a (diff)
downloaddjango-rest-framework-2f5582a1a6d8a79bfab7ffbc2d8b602fdae8e640.tar.bz2
Merge remote-tracking branch 'upstream/master' into related-required
Diffstat (limited to 'rest_framework/urls.py')
-rw-r--r--rest_framework/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/urls.py b/rest_framework/urls.py
index bcdc23e7..fbe4bc07 100644
--- a/rest_framework/urls.py
+++ b/rest_framework/urls.py
@@ -12,7 +12,7 @@ your authentication settings include `SessionAuthentication`.
url(r'^auth', include('rest_framework.urls', namespace='rest_framework'))
)
"""
-from django.conf.urls.defaults import patterns, url
+from rest_framework.compat import patterns, url
template_name = {'template_name': 'rest_framework/login.html'}