summaryrefslogtreecommitdiff
path: root/pgweb/contributors/views.py
blob: 45b8551eba79b724d445cec52bc984d568f2cb78 (plain)
1
2
3
4
5
6
7
8
9
10
from pgweb.util.contexts import render_pgweb

from .models import ContributorType


def completelist(request):
    contributortypes = list(ContributorType.objects.all())
    return render_pgweb(request, 'community', 'contributors/list.html', {
        'contributortypes': contributortypes,
    })