aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/urls.py
diff options
context:
space:
mode:
authorTom Christie2013-09-25 10:30:04 +0100
committerTom Christie2013-09-25 10:30:04 +0100
commite441f85109e64345a12e65062fc0e51c5787e67f (patch)
treee04c0ba1e2891b0c6011ca319f166c57159f3d26 /rest_framework/urls.py
parent21cd6386593aea0b122abec1c5cc3bd5c544aa87 (diff)
downloaddjango-rest-framework-e441f85109e64345a12e65062fc0e51c5787e67f.tar.bz2
Drop 1.3 support
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 9c4719f1..87ec0f0a 100644
--- a/rest_framework/urls.py
+++ b/rest_framework/urls.py
@@ -13,7 +13,7 @@ your authentication settings include `SessionAuthentication`.
)
"""
from __future__ import unicode_literals
-from rest_framework.compat import patterns, url
+from django.conf.urls import patterns, url
template_name = {'template_name': 'rest_framework/login.html'}