{ "info": { "author": "Simon Charette", "author_email": "charette.s@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "###############\ndjango-colorful\n###############\n\nAn extension to the Django web framework that provides a database and form\nfield to accept and store colors in the RGB format.\n\n.. image:: https://travis-ci.org/charettes/django-colorful.svg?branch=master\n :target: https://travis-ci.org/charettes/django-colorful\n\n.. image:: https://coveralls.io/repos/charettes/django-colorful/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/charettes/django-colorful?branch=master\n\n************\nInstallation\n************\n\n>>> pip install django-colorful\n\nMake sure ``'colorful'`` is in your `INSTALLED_APPS`:\n\n::\n\n INSTALLED_APPS.append('colorful')\n\n*****\nUsage\n*****\n\nIn order to use a color field you just have to add it to your model definition:\n\n::\n\n from django.db import models\n from colorful.fields import RGBColorField\n\n class Tag(models.Model):\n color = RGBColorField()\n\nThe ``RGBColorField`` class also accepts a ``color`` keyword argument which can\nbe set to a list of colors that should be visible as preset color palette:\n\n::\n\n color = RGBColorField(colors=['#FF0000', '#00FF00', '#0000FF'])\n\nThe ``ColorFieldWidget`` should take care of providing a JavaScript based shim\non browsers that don't support the HTML5 color input.\n\n.. note:: \n To enable HTML5 color input with `Django Grappelli`_ ensure that \n ``GRAPPELLI_CLEAN_INPUT_TYPES`` is set to ``False`` in your settings file.\n\n.. _Django Grappelli: https://github.com/sehmaschine/django-grappelli\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Scybear/django-colorful", "keywords": "django color field", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-colorful-scybear", "package_url": "https://pypi.org/project/django-colorful-scybear/", "platform": "", "project_url": "https://pypi.org/project/django-colorful-scybear/", "project_urls": { "Homepage": "https://github.com/Scybear/django-colorful" }, "release_url": "https://pypi.org/project/django-colorful-scybear/1.2.1/", "requires_dist": [ "Django (>=1.8)" ], "requires_python": "", "summary": "An extension to the Django web framework that provides database and form color fields", "version": "1.2.1" }, "last_serial": 4138849, "releases": { "1.2.1": [ { "comment_text": "", "digests": { "md5": "51f8ca1f6c9301af84e6ff3fd1682c40", "sha256": "e70cf21805da69159bf9200e35fd7d70bb0f9166f508360887813289d36cdba1" }, "downloads": -1, "filename": "django_colorful_scybear-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "51f8ca1f6c9301af84e6ff3fd1682c40", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10437, "upload_time": "2018-08-06T01:36:24", "url": "https://files.pythonhosted.org/packages/0d/7d/5b406befe5d0171341cc07013e4bddc54eee1e62669e271e1f6f94039211/django_colorful_scybear-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42a4d9cddd1df7facba6c2518b4c48da", "sha256": "5ec119b810bd6d6ca991353c6fad878b49ac87cd4b6399eb2d05ba0f25ddfda9" }, "downloads": -1, "filename": "django-colorful-scybear-1.2.1.tar.gz", "has_sig": false, "md5_digest": "42a4d9cddd1df7facba6c2518b4c48da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8898, "upload_time": "2018-08-06T01:36:25", "url": "https://files.pythonhosted.org/packages/a6/ec/0b08fcb30f48889c9cb45edbf9d467e257cb43f182ba27e766ac07f25a8b/django-colorful-scybear-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51f8ca1f6c9301af84e6ff3fd1682c40", "sha256": "e70cf21805da69159bf9200e35fd7d70bb0f9166f508360887813289d36cdba1" }, "downloads": -1, "filename": "django_colorful_scybear-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "51f8ca1f6c9301af84e6ff3fd1682c40", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10437, "upload_time": "2018-08-06T01:36:24", "url": "https://files.pythonhosted.org/packages/0d/7d/5b406befe5d0171341cc07013e4bddc54eee1e62669e271e1f6f94039211/django_colorful_scybear-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42a4d9cddd1df7facba6c2518b4c48da", "sha256": "5ec119b810bd6d6ca991353c6fad878b49ac87cd4b6399eb2d05ba0f25ddfda9" }, "downloads": -1, "filename": "django-colorful-scybear-1.2.1.tar.gz", "has_sig": false, "md5_digest": "42a4d9cddd1df7facba6c2518b4c48da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8898, "upload_time": "2018-08-06T01:36:25", "url": "https://files.pythonhosted.org/packages/a6/ec/0b08fcb30f48889c9cb45edbf9d467e257cb43f182ba27e766ac07f25a8b/django-colorful-scybear-1.2.1.tar.gz" } ] }