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.2.
Metadata
Release files for django-colorful 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-colorful-0.1.2.tar.gz | 5.6 kB | Without provenance | Details for django-colorful-0.1.2.tar.gz |
Release files / django-colorful-0.1.2.tar.gz
| Download URL | django-colorful-0.1.2.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1e87a39fccdf4a29bc523f26061761fb5f5ec4dc88bbe95b1e4823f6df8ad3a
|
|
BLAKE2b-256 checksum How to use checksums |
56ce95a546de7373e7cf26b3f28b1be1dd9a94e492ea15f030a6d7ece576f99d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-colorful 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.