diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-07-31 14:46:32 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-07-31 14:46:32 -0400 |
commit | fc395fde06dad5d9010dd9a985df4b2246ca72b1 (patch) | |
tree | 1daf66f64b891fe47429a26eeac25fab34e43343 | |
parent | b62d0eb035c9c3c3486d0841eb4a446e70158748 (diff) | |
download | askbot-fc395fde06dad5d9010dd9a985df4b2246ca72b1.tar.gz askbot-fc395fde06dad5d9010dd9a985df4b2246ca72b1.tar.bz2 askbot-fc395fde06dad5d9010dd9a985df4b2246ca72b1.zip |
changed to using django-recaptcha-works module
-rw-r--r-- | askbot/deps/django_authopenid/forms.py | 4 | ||||
-rw-r--r-- | askbot/forms.py | 4 | ||||
-rwxr-xr-x | askbot/upfiles/favicon-(1).ico | bin | 0 -> 1406 bytes | |||
-rw-r--r-- | setup.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/askbot/deps/django_authopenid/forms.py b/askbot/deps/django_authopenid/forms.py index 47323f13..d9bb7261 100644 --- a/askbot/deps/django_authopenid/forms.py +++ b/askbot/deps/django_authopenid/forms.py @@ -37,7 +37,7 @@ from django.conf import settings from askbot.conf import settings as askbot_settings from askbot import const as askbot_const from django.utils.safestring import mark_safe -from captcha.fields import ReCaptchaField +from recaptcha_works.fields import RecaptchaField from askbot.utils.forms import NextUrlField, UserNameField, UserEmailField, SetPasswordForm # needed for some linux distributions like debian @@ -322,7 +322,7 @@ class SafeClassicRegisterForm(ClassicRegisterForm): """this form uses recaptcha in addition to the base register form """ - recaptcha = ReCaptchaField( + recaptcha = RecaptchaField( private_key = askbot_settings.RECAPTCHA_SECRET, public_key = askbot_settings.RECAPTCHA_KEY ) diff --git a/askbot/forms.py b/askbot/forms.py index 70e81696..153d56e6 100644 --- a/askbot/forms.py +++ b/askbot/forms.py @@ -10,7 +10,7 @@ from django.contrib.contenttypes.models import ContentType from django_countries import countries from askbot.utils.forms import NextUrlField, UserNameField from askbot.utils.mail import extract_first_email_address -from captcha.fields import ReCaptchaField +from recaptcha_works.fields import RecaptchaField from askbot.conf import settings as askbot_settings import logging @@ -526,7 +526,7 @@ class AdvancedSearchForm(forms.Form): return data class NotARobotForm(forms.Form): - recaptcha = ReCaptchaField( + recaptcha = RecaptchaField( private_key = askbot_settings.RECAPTCHA_SECRET, public_key = askbot_settings.RECAPTCHA_KEY ) diff --git a/askbot/upfiles/favicon-(1).ico b/askbot/upfiles/favicon-(1).ico Binary files differnew file mode 100755 index 00000000..4d18aaec --- /dev/null +++ b/askbot/upfiles/favicon-(1).ico @@ -12,7 +12,6 @@ install_requires = [ 'Coffin>=0.3', 'South>=0.7.1', 'oauth2', - 'recaptcha-client', 'markdown2', 'html5lib', 'django-keyedcache', @@ -23,6 +22,7 @@ install_requires = [ 'django-celery==2.2.3', 'django-kombu==0.9.2', 'django-followit', + 'django-recaptcha-works', 'python-openid', ] |