diff --git a/vendor/symposion/symposion/reviews/context_processors.py b/vendor/symposion/symposion/reviews/context_processors.py index 7b16489690930aef65eea648e750cbe9d499ef8b..46c89fa86935a06b15b71c9d93c7340fd2bc8c48 100644 --- a/vendor/symposion/symposion/reviews/context_processors.py +++ b/vendor/symposion/symposion/reviews/context_processors.py @@ -1,10 +1,11 @@ +from django.conf import settings from symposion.proposals.models import ProposalSection def reviews(request): sections = [] manage_sections = {} - for section in ProposalSection.objects.all(): + for section in ProposalSection.objects.filter(section__conference__id=settings.CONFERENCE_ID): if request.user.has_perm("reviews.can_review_%s" % section.section.slug): sections.append(section) if request.user.has_perm("reviews.can_manage_%s" % section.section.slug):