Files @ 8857e7b7608c
Branch filter:

Location: symposion_app/symposion/reviews/context_processors.py

Rebecca Lovewell
Use {% load url from future %} in cms templates

Using https://github.com/django-future-url
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,
    }