[snowy: 3/26] Add OpenID auth backend to settings file to prevent error when logging in
- From: Sanford Armstrong <sharm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy: 3/26] Add OpenID auth backend to settings file to prevent error when logging in
- Date: Tue, 22 Jun 2010 20:57:15 +0000 (UTC)
commit 9c3a4a6dad53263182c5ec271402eb18dc061a79
Author: Leon Handreke <leon handreke gmail com>
Date: Mon Apr 5 18:17:23 2010 +0200
Add OpenID auth backend to settings file to prevent error when logging in
settings.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/settings.py b/settings.py
index b937fd5..8df3c1e 100644
--- a/settings.py
+++ b/settings.py
@@ -150,6 +150,13 @@ OPENID_UPDATE_DETAILS_FROM_SREG = True
LOGIN_REDIRECT_URL = '/'
LOGIN_URL = '/accounts/openid/login/'
+AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',
+ 'django_openid_auth.auth.OpenIDBackend',
+ #'socialauth.auth_backends.TwitterBackend',
+ #'socialauth.auth_backends.FacebookBackend',
+ )
+
+
# local_settings.py can be used to override environment-specific settings
# like database and email that differ between development and production.
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]