class FooJBossForm(Form):
biz_service = MultipleChoiceField(
choices=BizService.objects.filter(
biz_unit__bu_name='Foo',
).order_by('bs_name').values_list('bs_name', 'bs_name').distinct(),
required=False,
label='Business Service',
widget=SelectMultiple(attrs={'class': 'form-control'}),
)
...To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ff2289b7-630b-4132-8d48-0ffc98715cdc%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/4DbSczJGJF4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.