Updated the filtering for non-wg and wg mailing list pages.
- Legacy-Id: 15163
This commit is contained in:
parent
6307e1c224
commit
579cb3eabe
|
@ -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 ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue