From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Mon, 30 Mar 2015 14:53:10 +0000 (+0200)
Subject: propagate the renaming of auth/ into localauth/ in the rest of the code
X-Git-Tag: myslice-1.3~45^2~5^2~3
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2a8e0a73ca07126470cca0fd845979f62693af8b;p=unfold.git

propagate the renaming of auth/ into localauth/ in the rest of the code
---

diff --git a/myslice/settings.py b/myslice/settings.py
index 3f79a19b..b0e6a572 100644
--- a/myslice/settings.py
+++ b/myslice/settings.py
@@ -242,7 +242,7 @@ INSTALLED_APPS = [
     # our django project
     'myslice',
     # the core of the UI
-    'auth', 
+    'localauth', 
     'manifoldapi',
     'unfold',
     # plugins
@@ -336,7 +336,7 @@ LOGGING = {
     }
 }
 
-AUTHENTICATION_BACKENDS = ('auth.manifoldbackend.ManifoldBackend',
+AUTHENTICATION_BACKENDS = ('localauth.manifoldbackend.ManifoldBackend',
                            'django.contrib.auth.backends.ModelBackend')
 
 ### the view to redirect malformed (i.e. with a wrong CSRF) incoming requests
diff --git a/myslice/urls.py b/myslice/urls.py
index f792a057..0d0e1cce 100644
--- a/myslice/urls.py
+++ b/myslice/urls.py
@@ -65,7 +65,7 @@ urls = [
     # seems to be what login_required uses to redirect ...
     (r'^accounts/login/$', portal.homeview.HomeView.as_view()),
     (r'^login/?$', portal.homeview.HomeView.as_view()),
-    (r'^logout/?$', 'auth.views.logout_user'),
+    (r'^logout/?$', 'localauth.views.logout_user'),
     #
     # the manifold proxy
     (r'^manifold/proxy/(?P<format>\w+)/?$', 'manifoldapi.manifoldproxy.proxy'),