Debian Codegraph @

PKG-INFO

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