Provides multiple choice field storage for strings without limiting the total length of the string or giving any restrictions of which characters are not allowed because they are used to split the input value into its different choices.
Parameters: | separate_values_by (str) – The string used to split the input value into its choices. Defaults to '\n'. |
---|
See also
The respective form field as part of django-dynamic-forms dynamic_forms.forms.MultiSelectFormField. The common field options and the specifics for the django.db.models.TextField.
Note
The implementation is based on http://djangosnippets.org/snippets/2753/ but has been modified to the needs of this project. Thus, there is no conversion of the selected items to int or similar.