1 2 3 4 5 6 7 8 9 10 11
3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659 3d68af979659
from symposion.proposals.models import ProposalSection def reviews(request): sections = [] for section in ProposalSection.objects.all(): if request.user.has_perm("reviews.can_review_%s" % section.section.slug): sections.append(section) return { "review_sections": sections, }