X-Net Django Color Field
A color field for Django models and forms.
Installation
pip install x_net_django_color_field- Add
x_net_django_color_fieldto INSTALLED_APPS
Usage
Consider the following model using a ColorField
from django.db import models
from x_net_django_color_field.models import ColorField
class CustomModel(models.Model):
color = ColorField(verbose_name="Color")
Consider the following form using a ColorField
from django.forms import forms
from x_net_django_color_field.forms import ColorField
class CustomForm(forms.Form):
color = ColorField(label="Color")
Metadata
Release files for x-net-django-color-field 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| x-net-django-color-field-1.0.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| x_net_django_color_field-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / x-net-django-color-field-1.0.1.tar.gz
| Download URL | x-net-django-color-field-1.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82e8ada72d113b73d459e851669c49fbbd5e865ca9688c3a3d24585033ee12e7
|
|
BLAKE2b-256 checksum How to use checksums |
588210e3af36e8fbf57cf1f06f5210f8b876d14a25d604ce547acdefe27403f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12
|
Release files / x_net_django_color_field-1.0.1-py3-none-any.whl
| Download URL | x_net_django_color_field-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad89fc3426b7bddea09b047d79842bfad697c499adab69633850c7a5a38ae54d
|
|
BLAKE2b-256 checksum How to use checksums |
2489727d1ad260792c088e37a39bee77c39924acc51b3c12031a36f1f975b813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12
|