diff --git a/ietf/mailinglists/views.py b/ietf/mailinglists/views.py index 96fdfe6c5..bd4126443 100644 --- a/ietf/mailinglists/views.py +++ b/ietf/mailinglists/views.py @@ -11,7 +11,7 @@ from ietf.group.models import Group from ietf.mailinglists.models import List def groups(request): - groups = Group.objects.filter(type__in=("wg", "rg", "ag"), list_archive__startswith='http').order_by("acronym") + groups = Group.objects.filter(type__in=("wg", "rg", "ag"), list_archive__startswith='http').exclude(state__in=('bof', 'conclude')).order_by("acronym") return render(request, "mailinglists/group_archives.html", { "groups": groups } ) @@ -19,7 +19,7 @@ def groups(request): # safely cache this for some time. @cache_page(15*60) def nonwg(request): - groups = Group.objects.filter(type__in=("wg", "rg")).exclude(state__in=['bof', 'active']).order_by("acronym") + groups = Group.objects.filter(type__in=("wg", "rg")).exclude(state__in=['bof', 'conclude']).order_by("acronym") #urls = [ g.list_archive for g in groups if '.ietf.org' in g.list_archive ]