dldevinc/django-spectrum

Default for ColorField must be instance of Color

Closed this issue · 0 comments

If default value for ColorField is not an instance of Color, then get_prep_value errors when making migrations or initializing model as encode_color errors with str instance does not have attribute 'opaque'