From 2a8e0a73ca07126470cca0fd845979f62693af8b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 30 Mar 2015 16:53:10 +0200 Subject: [PATCH] propagate the renaming of auth/ into localauth/ in the rest of the code --- myslice/settings.py | 4 ++-- myslice/urls.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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\w+)/?$', 'manifoldapi.manifoldproxy.proxy'), -- 2.43.0