tutorial - Easy-to-use django captcha or registration app with captcha?
use recaptcha django (2)
For those like me arriving late to the thread, there are a bunch of solutions out there now, which are pretty easy to install:
- https://github.com/marconi/django-mollom which uses the third-party Mollom service (which provides captcha and spam-filtering services).
I've successfully setup Django Mollom and Django Simple Captcha, and the hardest part was yak shaving around installing PIL on my Mac. Implementing the code was as straightforward as the docs for each would suggest.
I want to implement user registration using captcha in Django. The workflow of django-registration app is a great, but it doesn't have captcha.
What captcha would you recommend to use with it? Are there some other variants of registration+captcha or useful links on the topic?
This should work with Django-1.1 and don't be too hard to install.
I've just had this problem, but the solution is dead simple.
I'm using django-registration, and I want a reCAPTCHA field for user registration. In just 1 minute:
download django-recaptcha (
pip install django-recaptcha)
install it on your project. That is, copy the "captcha" folder to your project, add "captcha" to
INSTALLED_APPSand add your
RECAPTCHA_PRIVATE_KEYkeys to settings.py too (as described in the installation instructions)
registration/forms.pyand add this field inside
captcha = ReCaptchaField()
you will also have to import:
from captcha.fields import ReCaptchaField
And that's it. Less than a minute.