all-reviews CSV now includes the proposal type rather than the proposal section

This commit is contained in:
Christopher Neugebauer 2016-08-17 07:27:32 +10:00
parent 32c2d697b0
commit 7b6843ca1e

View file

@ -167,7 +167,8 @@ def review_all_proposals_csv(request):
proposal.speaker_name = proposal.speaker.name proposal.speaker_name = proposal.speaker.name
section_slug = proposal.kind.section.slug section_slug = proposal.kind.section.slug
proposal.proposal_type = section_slug kind_slug = proposal.kind.slug
proposal.proposal_type = kind_slug
if not request.user.has_perm("reviews.can_review_%s" % section_slug): if not request.user.has_perm("reviews.can_review_%s" % section_slug):
continue continue