Restrict related documents included in the 1wg-charter* views to those that update or obsolete WG produced RFCs. Commit ready for merge.

- Legacy-Id: 10932
This commit is contained in:
Robert Sparks 2016-03-16 03:37:35 +00:00
parent 647b09d84e
commit d654610393

View file

@ -154,8 +154,8 @@ def fill_in_wg_drafts(group):
group.drafts.append(a)
else:
group.rfcs.append(a)
a.rel = RelatedDocument.objects.filter(source=a.document).distinct()
a.invrel = RelatedDocument.objects.filter(target=a).distinct()
a.rel = RelatedDocument.objects.filter(source=a.document,relationship_id__in=['obs','updates']).distinct()
a.invrel = RelatedDocument.objects.filter(target=a,relationship_id__in=['obs','updates']).distinct()
@cache_page ( 60 * 60 )
def wg_charters(request, group_type):