mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 08:22:15 +00:00
Add recaptcha library.
This commit is contained in:
@@ -44,6 +44,7 @@ INSTALLED_APPS = (
|
|||||||
'debug_toolbar',
|
'debug_toolbar',
|
||||||
'registration',
|
'registration',
|
||||||
'reversion',
|
'reversion',
|
||||||
|
'captcha',
|
||||||
'widget_tweaks',
|
'widget_tweaks',
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -131,6 +132,11 @@ LOGOUT_URL = '/user/logout'
|
|||||||
|
|
||||||
ACCOUNT_ACTIVATION_DAYS = 7
|
ACCOUNT_ACTIVATION_DAYS = 7
|
||||||
|
|
||||||
|
# reCAPTCHA settings
|
||||||
|
RECAPTCHA_PUBLIC_KEY = '6Le16gUTAAAAAO5f-6te_x0NjWmF65_h7saBI6Cg'
|
||||||
|
RECAPTCHA_PRIVATE_KEY = '6Le16gUTAAAAAByo-ZxRRX3RKyoBngf7ms3dnoEW'
|
||||||
|
NOCAPTCHA = True
|
||||||
|
|
||||||
# Email
|
# Email
|
||||||
EMAILER_TEST = False
|
EMAILER_TEST = False
|
||||||
if not DEBUG or EMAILER_TEST:
|
if not DEBUG or EMAILER_TEST:
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ dj-database-url==0.3.0
|
|||||||
dj-static==0.0.6
|
dj-static==0.0.6
|
||||||
django-debug-toolbar==1.2.2
|
django-debug-toolbar==1.2.2
|
||||||
django-ical==1.3
|
django-ical==1.3
|
||||||
|
django-recaptcha==1.0.4
|
||||||
django-registration-redux==1.1
|
django-registration-redux==1.1
|
||||||
django-reversion==1.8.5
|
django-reversion==1.8.5
|
||||||
django-toolbelt==0.0.1
|
django-toolbelt==0.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user