ThunderHorn
ThunderHorn

Reputation: 2035

Can I add colorpicker in django-models

Hello is it possible to add a color picker in a django model?

I need to have a color in my model so it can be passed to the front-end in Hex Color Code

I can do that with saving the hex color In char field, but is it possible to have an actual color-picker in Django admin

Upvotes: 2

Views: 1832

Answers (1)

Shakil
Shakil

Reputation: 4630

Not sure how good is this. You can try this third party django-colorfield.

Upvotes: 3

Related Questions