Add recaptcha library.

This commit is contained in:
Tom Price
2015-04-25 16:28:11 +01:00
parent 965833504b
commit 7596dcc08d
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 = '6Le16gUTAAAAAByo-ZxRRX3RKyoBngf7ms3dnoEW'
NOCAPTCHA = True
# Email
EMAILER_TEST = False
if not DEBUG or EMAILER_TEST:

View File

@@ -7,6 +7,7 @@ dj-database-url==0.3.0
dj-static==0.0.6
django-debug-toolbar==1.2.2
django-ical==1.3
django-recaptcha==1.0.4
django-registration-redux==1.1
django-reversion==1.8.5
django-toolbelt==0.0.1