Commit d2c39b79 authored by Joost Rijneveld's avatar Joost Rijneveld

Comparing to False does not work on postgres

parent 031ef035
......@@ -41,7 +41,7 @@ def index(request):
elif 'custom' in request.GET:
if request.GET['custom'] == 'commissievoorzitters':
memberships = (CommitteeMembership.active_memberships
.filter(committee__board=False)
.filter(committee__board=None)
.filter(chair=True)
.prefetch_related('member__user'))
members = [x.member for x in memberships]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment