/
View dependency graph
Depends on
- dh-python (dh-sequence-python3)
- libjs-jquery-colorpicker (libjs-jquery-colorpicker)
- python-django (python3-django)
- python3-defaults (python3-all)
- setuptools (python3-setuptools)
- debhelper-compat
README (full)
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| dir | debian/ |
| dir | django_paintstore.egg-info/ |
| dir | paintstore/ |
| file | AUTHORS |
| file | LICENSE |
| file | MANIFEST.in |
| file | PKG-INFO |
| file | README.rst |
| file | setup.cfg |
| file | setup.py |