diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-25 21:56:48 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-25 21:56:48 +0800 |
commit | c0a125cf62c09336cbb73ab7385bd9dd93ba4cd4 (patch) | |
tree | 0e660737992968ba4950414ebf541f020de9e0e0 /django_skaschool | |
parent | fdca25093fc6ae361ffd903e5cc8a11d5cd724d0 (diff) | |
download | django-skaschool-c0a125cf62c09336cbb73ab7385bd9dd93ba4cd4.tar.bz2 |
* installed 'django-recaptcha'
* added 'captcha' field to UserRegForm
Diffstat (limited to 'django_skaschool')
-rw-r--r-- | django_skaschool/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py index 7bb21b3..f80c964 100644 --- a/django_skaschool/settings.py +++ b/django_skaschool/settings.py @@ -44,6 +44,7 @@ THIRD_PARTY_APPS = ( #'south', 'bootstrap3', 'registration', + 'captcha', ) # LOCAL_APPS LOCAL_APPS = ( @@ -166,4 +167,9 @@ ACCOUNT_ACTIVATION_DAYS = 7 # whether registration of new accounts if currently permitted REGISTRATION_OPEN = True +## django-recaptcha +# global key (recaptcha.net) +RECAPTCHA_PUBLIC_KEY = '6Lf8dvISAAAAAPljExJQcAkx4jDZPOYbTGXYXCME' +RECAPTCHA_PRIVATE_KEY = '6Lf8dvISAAAAAH75mmLlVWOp6JB9Gx6WARR_6HXb' + # vim: set ts=4 sw=4 tw=0 fenc=utf-8 ft=python: |