aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-25 21:56:48 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-25 21:56:48 +0800
commitc0a125cf62c09336cbb73ab7385bd9dd93ba4cd4 (patch)
tree0e660737992968ba4950414ebf541f020de9e0e0 /django_skaschool
parentfdca25093fc6ae361ffd903e5cc8a11d5cd724d0 (diff)
downloaddjango-skaschool-c0a125cf62c09336cbb73ab7385bd9dd93ba4cd4.tar.bz2
* installed 'django-recaptcha'
* added 'captcha' field to UserRegForm
Diffstat (limited to 'django_skaschool')
-rw-r--r--django_skaschool/settings.py6
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: