Merged in recaptcha (pull request #28)

Add recaptcha to all public facing pages.
This commit is contained in:
Nathan Penney
2015-04-26 19:12:28 +01:00
7 changed files with 33 additions and 8 deletions

View File

@@ -48,6 +48,7 @@ INSTALLED_APPS = (
'debug_toolbar',
'registration',
'reversion',
'captcha',
'widget_tweaks',
)
@@ -149,6 +150,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: