propagate the renaming of auth/ into localauth/ in the rest of the code
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 30 Mar 2015 14:53:10 +0000 (16:53 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 30 Mar 2015 14:53:10 +0000 (16:53 +0200)
myslice/settings.py
myslice/urls.py

index 3f79a19..b0e6a57 100644 (file)
@@ -242,7 +242,7 @@ INSTALLED_APPS = [
     # our django project
     'myslice',
     # the core of the UI
     # our django project
     'myslice',
     # the core of the UI
-    'auth', 
+    'localauth', 
     'manifoldapi',
     'unfold',
     # plugins
     '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
                            'django.contrib.auth.backends.ModelBackend')
 
 ### the view to redirect malformed (i.e. with a wrong CSRF) incoming requests
index f792a05..0d0e1cc 100644 (file)
@@ -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()),
     # 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'),
     #
     # the manifold proxy
     (r'^manifold/proxy/(?P<format>\w+)/?$', 'manifoldapi.manifoldproxy.proxy'),