Update by ialbert on Tue Sep 25 11:48:48 EDT 2018 from yolo.local
@@ -102,7 +102,6 @@ INSTALLED_APPS = [
'debug_toolbar',
'snowpenguin.django.recaptcha2',
-
# The order of apps matters in the template loading
'biostar.engine.apps.EngineConfig',
'biostar.emailer.apps.EmailerConfig',
@@ -153,7 +152,6 @@ TEMPLATES = [
},
]
-
AUTHENTICATION_BACKENDS = (
"django.contrib.auth.backends.ModelBackend",
"allauth.account.auth_backends.AuthenticationBackend",
@@ -225,8 +223,10 @@ ONLY_FORUM_URLS = False
# Session settings go here
SESSION_KEY = "session"
+
COUNT_INTERVAL_WEEKS = 10000
+SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
# SENDFILE_BACKEND = "sendfile.backends.nginx"
SENDFILE_BACKEND = "sendfile.backends.development"
@@ -259,9 +259,19 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
LOGIN_REDIRECT_URL = "/"
ACCOUNT_AUTHENTICATED_LOGIN_REDIRECTS = True
+# Default clients redirect to localhost.
+# Default clients may not be operational. See the
+# django allauth documentataion on how to set them up.
+
+#
+# Callback example settings:
+#
+# http://localhost:8000/accounts/social/google/login/callback/
+# http://localhost:8000/accounts/social/github/login/callback/
+#
SOCIAL_CLIENTS = [
- ("Google", "547073349197-ri3eku9fdpi1ble7eoc4amlsrh7m2oiv.apps.googleusercontent.com", "DR1-zMqOLTqRGvhSDb5rQBMg")
+ ("Google", "547073349197-ri3eku9fdpi1ble7eoc4amlsrh7m2oiv.apps.googleusercontent.com", "DR1-zMqOLTqRGvhSDb5rQBMg"),
+ ("GitHub", "d8493ce8967ea5abbd73", "04ff5043ebce2317d3c26bfe90fbc5e67fa38d05")
]
-
