Sadly these strings are arbitrary, yes...  I suppose I could subclass
MultipleChoiceField and kill the validator.

On Wed, Jan 18, 2012 at 10:54 AM, Tom Evans <[email protected]>wrote:

> On Wed, Jan 18, 2012 at 3:51 PM, Andre Terra <[email protected]> wrote:
> > https://docs.djangoproject.com/en/dev/ref/forms/fields/#choicefield
> >
> https://docs.djangoproject.com/en/dev/ref/forms/fields/#django.forms.MultipleChoiceField
> >
> >
>
> That is how I almost replied, but a MultipleChoiceField constrains the
> submitted values to be within a predefined list of acceptable values.
> You couldn't use a MultipleChoiceField to collect an arbitrary number
> of arbitrary strings, it would fail validation.
>
> Cheers
>
> Tom
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to