--- a/web/ldtplatform/urls.py Thu Apr 14 18:00:39 2011 +0200
+++ b/web/ldtplatform/urls.py Mon Apr 18 13:12:57 2011 +0200
@@ -2,8 +2,7 @@
from django.contrib import admin
from ldt.text import VERSION_STR
from django.conf import settings
-from django.contrib.auth import views as auth_views
-
+from ldt.auth.views import login as pf_login
# Uncomment the next two lines to enable the admin:
admin.autodiscover()
@@ -28,7 +27,7 @@
#(r'^accounts/', include('socialauth.urls')),
(r'^accounts/', include('social_auth.urls')),
- url(r'^accounts/login/$',auth_views.login,{'template_name': 'registration/login.html'},name='auth_login'),
+ url(r'^accounts/login/$',pf_login,{'template_name': 'registration/login.html'},name='auth_login'),
(r'^oauth/', include('oauth_provider.urls')),
#(r'^$', 'socialauth.views.signin_complete'),