Limit the 1wg-summary list and friends to WGs, (excluding the 'iesg' area which lists the areas as subgroups, for instance).

- Legacy-Id: 5063
This commit is contained in:
Henrik Levkowetz 2012-11-14 11:32:33 +00:00
parent 7e226be6fb
commit 9a302b63dc

View file

@ -75,18 +75,18 @@ def wg_summary_acronym(request):
return HttpResponse(loader.render_to_string('wginfo/1wg-summary-by-acronym.txt', {'area_list': areas, 'wg_list': wgs}),mimetype='text/plain; charset=UTF-8')
def wg_summary_area(request):
wgs = IETFWG.objects.filter(status='1',start_date__isnull=False)
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False)
return HttpResponse(loader.render_to_string('wginfo/1wg-summary.txt', {'wg_list': wgs}),mimetype='text/plain; charset=UTF-8')
def wg_charters(request):
wgs = IETFWG.objects.filter(status='1',start_date__isnull=False)
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False)
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
for wg in wgs:
fill_in_charter_info(wg, include_drafts=True)
return HttpResponse(loader.render_to_string('wginfo/1wg-charters.txt', {'wg_list': wgs, 'USE_DB_REDESIGN_PROXY_CLASSES': settings.USE_DB_REDESIGN_PROXY_CLASSES}),mimetype='text/plain; charset=UTF-8')
def wg_charters_by_acronym(request):
wgs = IETFWG.objects.filter(status='1',start_date__isnull=False)
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False)
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
for wg in wgs:
fill_in_charter_info(wg, include_drafts=True)