summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-06-25 19:05:12 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-06-25 19:05:12 -0400
commitb93391f1aa2a96ace94463fc883b9a1220d50f82 (patch)
tree3e8fcd7811339b3d1423bff905323302204d4165 /settings.py
parentd830b1ab3d95f8598de98b2a97cfed7ed19c4175 (diff)
downloadhyperkitty-b93391f1aa2a96ace94463fc883b9a1220d50f82.tar.gz
hyperkitty-b93391f1aa2a96ace94463fc883b9a1220d50f82.tar.xz
hyperkitty-b93391f1aa2a96ace94463fc883b9a1220d50f82.zip
More login services
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/settings.py b/settings.py
index eb89a14..11bcec4 100644
--- a/settings.py
+++ b/settings.py
@@ -18,10 +18,10 @@ MAILMAN_PASS='88ffd62d1094a6248415c59d7538793f3df5de2f04d244087952394e689e902a'
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'hyperkitty.dev.db', # Or path to database file if using sqlite3.
- 'USER': '', # Not used with sqlite3.
- 'PASSWORD': '', # Not used with sqlite3.
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'hk', # Or path to database file if using sqlite3.
+ 'USER': 'root', # Not used with sqlite3.
+ 'PASSWORD': 'rootroot', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
@@ -119,9 +119,11 @@ TEMPLATE_DIRS = (
)
AUTHENTICATION_BACKENDS = (
- 'django.contrib.auth.backends.ModelBackend',
+ 'social_auth.backends.google.GoogleBackend',
+ 'social_auth.backends.yahoo.YahooBackend',
+ 'social_auth.backends.browserid.BrowserIDBackend',
'social_auth.backends.OpenIDBackend',
- 'social_auth.backends.browserid.BrowserIDBackend'
+ 'django.contrib.auth.backends.ModelBackend',
)
INSTALLED_APPS = (
@@ -148,6 +150,7 @@ SOCIAL_AUTH_ASSOCIATE_URL_NAME = 'socialauth_associate_complete'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_social_auth_user'
SOCIAL_AUTH_UUID_LENGTH = 16
+AUTH_PROFILE_MODULE = 'gsoc.UserProfile'
# A sample logging configuration. The only tangible logging
@@ -173,5 +176,6 @@ LOGGING = {
}
}
+SOCIAL_AUTH_LAST_LOGIN = 'social_auth_last_login_backend'
APP_NAME = 'Fedora Mailman App'
KITTYSTORE_URL = 'postgres://mm3:mm3@localhost/mm3'