Add recaptcha library.

This commit is contained in:
Tom Price
2015-04-25 16:28:11 +01:00
parent fa16e7e1a1
commit 722ecb30f7
2 changed files with 7 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ INSTALLED_APPS = (
'debug_toolbar',
'registration',
'reversion',
'captcha',
'widget_tweaks',
)
@@ -131,6 +132,11 @@ LOGOUT_URL = '/user/logout'
ACCOUNT_ACTIVATION_DAYS = 7
# reCAPTCHA settings
RECAPTCHA_PUBLIC_KEY = '6Le16gUTAAAAAO5f-6te_x0NjWmF65_h7saBI6Cg'
RECAPTCHA_PRIVATE_KEY = '***REMOVED***'
NOCAPTCHA = True
# Email
EMAILER_TEST = False
if not DEBUG or EMAILER_TEST: