Files
postgres-web/pgweb/contributors/views.py
2019-01-26 16:19:26 +01:00

11 lines
297 B
Python

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,
})