django-yacaptcha 0.0.6

Simple captcha with Yandex API.
=====
Django YaCaptcha
=====

Django YaCaptcha - Yandex Captcha (cleanweb) form field/widget integration app.

Uses https://github.com/coagulant/cleanweb

Quick start
-----------

1. Add "yacaptcha" to your INSTALLED_APPS setting like this:
<pre>
INSTALLED_APPS = (
        'yacaptcha',
)
</pre>

2. Get the API key http://api.yandex.ru/cleanweb and add to your project settings:
<pre>
YACAPTCHA_KEY = 'your_api_key'
</pre>

3. Add YaCaptchaField in your form like this::
<pre>
from yacaptcha.fields import YaCaptchaField
class TestForm(forms.Form):
        name = forms.CharField()
        captcha = YaCaptchaField()
</pre>
4. Add form field widget template
    You may create your own template for field widget. For this add in project settings:
<pre>
YACAPTCHA_WIDGET_TEMPLATE = 'path_to_widget.html'
</pre>
    Or use default widget.html from package django-yacaptcha/templates/yacaptcha/widget.html

5. If you use django-registration, you may use registartion backend with yacaptcha field like this:
<pre>
url(r'^accounts/', include('yacaptcha.backends.default.urls')), # yacaptcha backend for registration form
(r'^accounts/', include('registration.backends.default.urls')),
</pre>
BSD

Author

avigmati

Pip

django-yacaptcha==0.0.6

Classifiers

  • Framework :: Django
  • Intended Audience :: Developers
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Development Status :: 4 - Beta
  • License :: OSI Approved :: BSD License
  • Topic :: Internet :: WWW/HTTP
File Type Python Version Uploaded On Downloads
django-yacaptcha-0.0.6.tar.gz Source May 3, 2013 2,072
Version Release Date
0.0.6 May 3, 2013
0.0.5 May 3, 2013
0.0.4 May 3, 2013
0.0.3 April 30, 2013
0.0.2 April 29, 2013
0.0.1 April 29, 2013
Date Package Version Action
Aug. 24, 2015, 11:05 p.m. django-yacaptcha 0.0.2 Release Created
Aug. 24, 2015, 11:05 p.m. django-yacaptcha 0.0.3 Release Created
Aug. 24, 2015, 11:05 p.m. django-yacaptcha 0.0.1 Release Created
Aug. 24, 2015, 11:05 p.m. django-yacaptcha 0.0.6 Release Created
Aug. 24, 2015, 11:05 p.m. django-yacaptcha 0.0.4 Release Created
Aug. 24, 2015, 11:05 p.m. django-yacaptcha 0.0.5 Release Created
Aug. 24, 2015, 11:05 p.m. django-yacaptcha Package Created