aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index a590c75a..a5ebd2e2 100644
--- a/conf.py
+++ b/conf.py
@@ -35,6 +35,8 @@ if not ON_HEROKU:
PLATFORM_URL = config.get('misc', 'platform_url')
ADMIN_PLATFORM_EMAIL = config.get('misc', 'admin_platform_email')
+ RECAPTCHA_PUBLIC_KEY = config.get('misc', 'recaptcha_public_key')
+ RECAPTCHA_PRIVATE_KEY = config.get('misc', 'recaptcha_private_key')
WHOOSH_ENABLED = True
@@ -62,6 +64,8 @@ if not ON_HEROKU:
else:
PLATFORM_URL = os.environ.get('PLATFORM_URL', 'https://pyaggr3g470r.herokuapp.com/')
ADMIN_PLATFORM_EMAIL = os.environ.get('ADMIN_PLATFORM_EMAIL', '')
+ RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY', '')
+ RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY', '')
SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
bgstack15