Skip to main content

Simple and pretty user-friendly captcha module for Django framework.

Project description

Quick Start

Add color_captcha to INSTALLED_APPS


Run collectstatic manage command

> python collectstatic

Add color_captcha.css file to your template

<link rel="stylesheet" href="{{ STATIC_URL }}color_captcha/css/color_captcha.css" type="text/css"/>

Add ColorCaptchaField into your form

from django import forms
from color_captcha.fields import ColorCaptchaField

class MyForm(forms.Form)
    captcha = ColorCaptchaField(label='Choose a color')


Feel free to configure your captcha with the following options.



    ('white', 'white'),
    ('blue', 'blue'),
    ('red', 'red'),

An iterable of two-string-value tuples. The first value in tuple is a HEX color code (e.g. #FFF) or css color constant (e.g. white). The second value is a color name for user who has to solve the captcha.



    'wrong': 'Wrong answer',
    'required': 'This field is required',
    'internal': 'Internal error',

A dictionary with error messages for captcha field. You can override any of them.

Project details

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-color-captcha-0.1.0.tar.gz (5.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page