Add a simple CommaSeparatedValuesField for DB models.
Review Request #13560 — Created Feb. 20, 2024 and submitted
We're running into some trouble that the old django-multiselectfield
project is unmaintained and does not support Django 4.x+. There's a
third-party fork which has had some updates, but no releases of that
that we can consume.django-multiselectfield itself isn't very big, and of what it offers, we
don't actually use very much. This change adds a new field type to
Djblets to do the database serialization/deserialization to join and
split comma-separated values. It doesn't support the validation that
django-multiselectfield does, but we don't actually care about that
functionality.
- Ran unit tests.
- Used this in Review Board and tested the functionality of the
WebHookTarget admin form.
- Change Summary:
-
Fix some deserialization problems.
- Commits:
-
Summary ID 297ed52eb72fed98b6d4b4885f80bd31aec64a8c fbc676d02586ff11aca50a6b4abe84c38dd04195
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.