django-mysql icon indicating copy to clipboard operation
django-mysql copied to clipboard

Make SimpleListField and SimpleSetField easier to customize

Open adamchainz opened this issue 10 years ago • 0 comments

Some use cases of comma separated fields are better off displaying the data with newlines, or as json, etc. It's not so easy right now to subclass SimpleListField or SimpleSetField right now to customize just the [de]serialization logic whilst keeping the validation logic - make it so, by moving the string splitting/combining into separate methods.

adamchainz avatar May 29 '15 16:05 adamchainz