1 purchase
xnetdjangocolorfield 1.0.1
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_field to 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")
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.