1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
Metadata-Version: 1.1
Name: django-paintstore
Version: 0.2
Summary: A Django app that integrates jQuery ColorPicker with the Django admin.
Home-page: https://github.com/gsiegman/django-paintstore
Author: Glenn Siegman
Author-email: gsiegman@gsiegman.com
License: MIT
Description: django-paintstore
==================
``django-paintstore`` is a Django app that integrates `jQuery ColorPicker`_ with the Django admin
Quickstart
----------
#. Install the app with your preferred Python packaging utility, for example::
pip install django-paintstore
#. Add the application to the ``INSTALLED_APPS`` in settings.py::
INSTALLED_APPS = (
# ...
'paintstore',
)
#. Add a ColorPickerField to your model::
# ...
from paintstore.fields import ColorPickerField
class ColorfulModel(models.Model):
title = models.CharField(max_length=25)
color = ColorPickerField()
#. Optional: Edit colors directly in your model's change list admin::
class ColorfulModelAdmin(admin.ModelAdmin):
list_display = ["title", "color",]
list_editable = ["color",]
TODOS
--------
- Replace text input showing color hex code with a swatch of the color selected
- Docs (prep to add to Read the Docs)
- Tests
.. _`jQuery ColorPicker`: https://github.com/Belelros/jQuery-ColorPicker
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
|