Skip to content

Commit 25d37c0

Browse files
committed
Make sure BoF states don't show up for RGs
- Legacy-Id: 7564
1 parent 8dabf4c commit 25d37c0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ietf/group/edit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def __init__(self, *args, **kwargs):
4848

4949
super(self.__class__, self).__init__(*args, **kwargs)
5050

51+
if self.group_type == "rg":
52+
self.fields["state"].queryset = self.fields["state"].queryset.exclude(slug__in=("bof", "bof-conc"))
53+
5154
# if previous AD is now ex-AD, append that person to the list
5255
ad_pk = self.initial.get('ad')
5356
choices = self.fields['ad'].choices

0 commit comments

Comments
 (0)