mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Add recaptcha library.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user