Skip to content

Commit

Permalink
:) issue #5 blogged recaptcha and tweaked recaptcha comments
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqili committed Jul 5, 2011
1 parent 98cb9d8 commit 7f53c98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Project [Website](https://wiki.mozilla.org/WebAppSec/MozSecureWorld).

# Addons
Add bleach: `pip install -e git://github.com/jsocol/bleach.git#egg=bleach` ... actually this has been updated to playdoh.
Download recaptcha-client http://pypi.python.org/pypi/recaptcha-client read http://www.marcofucci.com/tumblelog/26/jul/2009/integrating-recaptcha-with-django/
Download recaptcha-client http://pypi.python.org/pypi/recaptcha-client read http://curioushq.blogspot.com/2011/07/recaptcha-on-django.html

# For HTTPS URL certificate checking
- Use PyOpenSSL and sockets, not urllib, because urllib's urlopen does not check the SSL server certificates [warning on urllib documentation](http://docs.python.org/library/urllib.html), thus becoming vulnerable to Man-In-The-Middle attacks.
Expand Down
2 changes: 1 addition & 1 deletion apps/msw/captcha.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# http://www.marcofucci.com/tumblelog/26/jul/2009/integrating-recaptcha-with-django/
# http://curioushq.blogspot.com/2011/07/recaptcha-on-django.html
# http://pypi.python.org/pypi/recaptcha-client

import urllib2, urllib
Expand Down
4 changes: 2 additions & 2 deletions apps/msw/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import ugettext_lazy as _lazy

# captcha stuff modified from
# http://www.marcofucci.com/tumblelog/26/jul/2009/integrating-recaptcha-with-django/
# captcha stuff read:
# http://curioushq.blogspot.com/2011/07/recaptcha-on-django.html
from django.conf import settings
from django import forms
from django.utils.encoding import smart_unicode
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,6 @@ def JINJA_CONFIG():
# Default: '/accounts/profile/'
LOGIN_REDIRECT_URL = "/msw/"

# recaptcha stuff http://www.marcofucci.com/tumblelog/26/jul/2009/integrating-recaptcha-with-django/
# Recaptcha stuff http://curioushq.blogspot.com/2011/07/recaptcha-on-django.html
# create keys https://www.google.com/recaptcha/admin/create
# RECAPTCHA_*_KEY set in settings_local.py

0 comments on commit 7f53c98

Please sign in to comment.