Skip to main content

An extension to the Django web framework that provides database and form color fields

Project description

twentytab-colorful
================

It's a fork of "django-colorful"

**django-colorful** is an extension to the Django web framework that provides
database and form color fields (only RGB atm).

Written by Simon Charette
Inspired by http://djangosnippets.org/snippets/1261/
Built with https://github.com/laktek/really-simple-color-picker

Usage
-------------
In order to use a color field you just have to add it to your model definition:

from django.db import models
from colorful.fields import RGBColorField

class Tag(models.Model)
color = RGBColorField()

The extension will take care of providing the custom widget, just make sure you
include the static files and jQuery >= 1.6.

In order to use with django.contrib.staticfiles add 'colorful' to
project's INSTALLED_APPS.

Project details


Release history Release notifications

This version
History Node

0.1

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
twentytab-colorful-0.1.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None Apr 17, 2014

Supported by

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