Browse Source

fix imports for new django and d-registration

Natenom/support-murmur-13-1446181288462
Michael Ziegler 11 years ago
parent
commit
027b5583e5
  1. 4
      pyweb/urls.py

4
pyweb/urls.py

@ -15,7 +15,7 @@
* GNU General Public License for more details. * 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: # Uncomment the next two lines to enable the admin:
from django.contrib import admin from django.contrib import admin
@ -51,7 +51,7 @@ urlpatterns = patterns('',
if "registration" in settings.INSTALLED_APPS: if "registration" in settings.INSTALLED_APPS:
urlpatterns += patterns( '', urlpatterns += patterns( '',
(r'^accounts/', include('registration.urls') ),
(r'^accounts/', include('registration.backends.default.urls') ),
) )
if "rosetta" in settings.INSTALLED_APPS: if "rosetta" in settings.INSTALLED_APPS:

Loading…
Cancel
Save