aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/urls.py
diff options
context:
space:
mode:
authorXavier Ordoquy2014-05-01 08:01:38 +0200
committerXavier Ordoquy2014-05-01 08:01:38 +0200
commit7b4463f73983e36f228e6af0ff8c921d4698a9b3 (patch)
treec26fd01425a3754e65a0b2c48694ca734278745f /rest_framework/urls.py
parent2aca69a94601858a462060bc55154c812f70fb91 (diff)
parentc9e6f31166ebccc5c3bf2f27e12a6d6c87f5cf22 (diff)
downloaddjango-rest-framework-7b4463f73983e36f228e6af0ff8c921d4698a9b3.tar.bz2
Merge remote-tracking branch 'reference/2.4.0' into feature/pytest
Conflicts: rest_framework/runtests/urls.py tests/test_response.py tox.ini
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'}