diff options
Diffstat (limited to 'rest_framework/urls.py')
| -rw-r--r-- | rest_framework/urls.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/urls.py b/rest_framework/urls.py index 5d70f899..eed4bd14 100644 --- a/rest_framework/urls.py +++ b/rest_framework/urls.py @@ -13,7 +13,7 @@ The urls must be namespaced as 'rest_framework', and you should make sure  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'} | 
