Skip to main content

A simple Django sweetcaptcha field/form app.

Project description

Django SweetCAptcha
**Django SweetCaptcha form field/widget integration app.**

django-sweetcaptcha provides a form field to integrate the `sweetCaptcha <>`_ service.


#. Install or add ``django-sweetcaptcha`` to your Python path.

#. Add ``sweetcaptcha`` to your ``INSTALLED_APPS`` setting.

#. Register your sweetCaptcha account `here <>`_.

#. Add ``SWEETCAPTCHA_APP_ID`` and ``SWEETCAPTCHA_APP_KEY`` settings to the project's ```` file. These settings are provided by the previous step.


The quickest way to add sweetcaptcha to a form is to use the included ``SweetCaptchaField`` field type. A ``SweetCaptcha`` widget will be rendered with the field validating itself without any further action required from you. For example:

.. code-block:: python

from django import forms
from sweetcaptcha.fields import SweetCaptchaField

class FormWithCaptcha(forms.Form):
sweetcaptcha = SweetCaptchaField()

To allow for runtime specification of keys:

.. code-block:: python

sweetcaptcha = SweetCaptchaField(

If specified these parameters will be used instead the ones specified in your project settings.


```` taken from `sweetcaptcha <>`_ by Jaime Wyant

Thanks to `sweetcaptcha <>`_

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-sweetcaptcha, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_sweetcaptcha-0.1-py2.py3-none-any.whl (6.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-sweetcaptcha-0.1.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page