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.
================
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file twentytab-colorful-0.1.tar.gz.
File metadata
- Download URL: twentytab-colorful-0.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
918fc2e36605a5f34a7334a105cb49082d6d061852dfb6c34bc5f7581432cb45
|
|
| MD5 |
03fbd0c9c786c5b01dcce21f146f7220
|
|
| BLAKE2b-256 |
3ee1f4bf3d7d33c3ccda983116eed7eac337351f3f7ced3c77c8dc055201e67d
|