From 027b5583e504efe18f9c2964ff0cc06b8e8956e4 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Fri, 22 Nov 2013 12:25:48 +0100 Subject: [PATCH] fix imports for new django and d-registration --- pyweb/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyweb/urls.py b/pyweb/urls.py index bc42915..0870748 100644 --- a/pyweb/urls.py +++ b/pyweb/urls.py @@ -15,7 +15,7 @@ * GNU General Public License for more details. """ -from django.conf.urls.defaults import patterns, include +from django.conf.urls import patterns, include # Uncomment the next two lines to enable the admin: from django.contrib import admin @@ -51,7 +51,7 @@ urlpatterns = patterns('', if "registration" in settings.INSTALLED_APPS: urlpatterns += patterns( '', - (r'^accounts/', include('registration.urls') ), + (r'^accounts/', include('registration.backends.default.urls') ), ) if "rosetta" in settings.INSTALLED_APPS: