Override validation for CommaSeparatedValuesField.
Review Request #14350 — Created Feb. 17, 2025 and submitted — Latest diff uploaded
The new comma separated values field that replaced the old
django-multiselectfield dependency was falling back on the base field
validation, which wasn't handling choices correctly. This change adds an
override so we actually iterate through the value instead of just
checking it directly.
Verified that saving changes to a comma-separated values field using a
multi checkbox widget worked correctly.
djblets/db/fields/comma_separated_values_field.py |
---|
djblets/db/tests/test_comma_separated_values_field.py |
---|