django.django_forms.SelectMultiple

Here are the examples of the python api django.django_forms.SelectMultiple taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: django-fluidinfo Source File: tests.py
Function: init
    def __init__(self, *args, **kwargs):
        super(BespokeMeetingForm, self).__init__(*args, **kwargs)
        self.fields['description'].widget = django_forms.SelectMultiple()
        self.fields['description'].choices = [('foo', 'FOO'), ('bar', 'BAR'),
            ('baz', 'BAZ')]