sergkarpenko / django-colorfield

a small app providing a colorpicker field for django

Home Page:http://jaredforsyth.com/projects/django-colorfield

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Colorfield

This module fills the need of having a 'colorfield' that's usable in both django models and forms.

Just install this application into virtual environment.

Add 'colorfield' into INSTALLED_APPS.

Usage::

from colorfield.fields import ColorField

class SomeModel(models.Model):
    value = ColorField(default='#fff', verbose_name=_(u'Value, in HEX'))

That's all!

About

a small app providing a colorpicker field for django

http://jaredforsyth.com/projects/django-colorfield

License:MIT License