Don't include WGs without areas in the area-based overviews of WGs
(1wg-summary.txt and 1wg-charters.txt) to prevent crashes, fixes issue #1083 - Legacy-Id: 5963
This commit is contained in:
parent
c6b688e0af
commit
52cefc5909
|
@ -76,11 +76,11 @@ 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',group_type='1',start_date__isnull=False)
|
||||
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False).exclude(parent=None)
|
||||
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',group_type='1',start_date__isnull=False)
|
||||
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False).exclude(parent=None)
|
||||
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
|
||||
for wg in wgs:
|
||||
fill_in_charter_info(wg, include_drafts=True)
|
||||
|
|
Loading…
Reference in a new issue