Skip to content

Commit b195beb

Browse files
committed
A refactor to give secretariat a broader selection of groups to choose from when scheduling non-working group sessions. Commit ready for merge.
- Legacy-Id: 11686
1 parent 1195262 commit b195beb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ietf/secr/meetings/forms.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ class TimeSlotForm(forms.Form):
180180
class NonSessionForm(TimeSlotForm):
181181
short = forms.CharField(max_length=32,label='Short Name',help_text='Enter an abbreviated session name (used for material file names)',required=False)
182182
type = forms.ModelChoiceField(queryset=TimeSlotTypeName.objects.filter(used=True).exclude(slug__in=('session',)),empty_label=None)
183-
group = forms.ModelChoiceField(queryset=Group.objects.filter(acronym__in=('edu','ietf','iepg','tools','iesg','iab','iaoc')),help_text='Required for Session types: other, plenary',required=False)
183+
group = forms.ModelChoiceField(
184+
queryset=Group.objects.filter(type__in=['ietf','team'],state='active'),
185+
help_text='Required for Session types: other, plenary',
186+
required=False)
184187
show_location = forms.BooleanField(required=False)
185188

186189
def clean(self):

0 commit comments

Comments
 (0)