Change non-working-group-session edit view to use same group options available when creating the non-working-group-sessions. Commit ready for merge.

- Legacy-Id: 12320
This commit is contained in:
Ryan Cross 2016-11-12 04:18:22 +00:00
parent f68d0c6f6b
commit f29100ab3a

View file

@ -152,7 +152,8 @@ class NonSessionEditForm(forms.Form):
name = forms.CharField(help_text='Name that appears on the agenda')
short = forms.CharField(max_length=32,label='Short Name',help_text='Enter an abbreviated session name (used for material file names)')
location = forms.ModelChoiceField(queryset=Room.objects)
group = forms.ModelChoiceField(queryset=Group.objects.filter(acronym__in=('edu','ietf','iepg','tools','iesg','iab','iaoc')),
group = forms.ModelChoiceField(
queryset=Group.objects.filter(type__in=['ietf','team'],state='active'),
help_text='''Select a group to associate with this session. For example:<br>
Tutorials = Education,<br>
Code Sprint = Tools Team,<br>