Stage attributions should be restricted to MP* sections

This commit is contained in:
Claude Paroz 2017-08-21 16:41:19 +02:00
parent 279b98171d
commit 7dc641edff
3 changed files with 7 additions and 6 deletions

View file

@ -162,7 +162,7 @@ class AttributionView(TemplateView):
context.update({
#'period_form': PeriodForm(),
'sections': Section.objects.all(),
'sections': Section.objects.filter(name__startswith='MP'),
'referents': referents,
})
return context