I am using django-colorfield in one of my project, it's awesome but I needed a way to get a list overview of the color to make sure they don't clash to much with one another.
So instead of displaying the hex value, it would be great to have a similar colored badge (except without the picker) as the creating/editing admin views.
As a temporary workaround, I am just coloring the background of the list view to the color using an extended admin template like so:
I was thinking maybe this would be a feature others would be interested in, though I don't know how easy it would to make generic and configurable in the project. Other than this, going from setting the background color to a nice colored badge is not such a big leap.
If you are interested I can look more into the code base and see if I can implement it and submit a PR.
I am using django-colorfield in one of my project, it's awesome but I needed a way to get a list overview of the color to make sure they don't clash to much with one another.
So instead of displaying the hex value, it would be great to have a similar colored badge (except without the picker) as the creating/editing admin views.
As a temporary workaround, I am just coloring the background of the list view to the color using an extended admin template like so:
which looks like this:
I was thinking maybe this would be a feature others would be interested in, though I don't know how easy it would to make generic and configurable in the project. Other than this, going from setting the background color to a nice colored badge is not such a big leap.
If you are interested I can look more into the code base and see if I can implement it and submit a PR.