mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 15:54:53 +00:00

Contains basic functionality, and an import of most of the static content from the old site. There is still plenty more to do...
16 lines
570 B
Python
16 lines
570 B
Python
from django.shortcuts import render_to_response, get_object_or_404
|
|
from django.http import HttpResponse, Http404, HttpResponseRedirect
|
|
from django.template import TemplateDoesNotExist, loader, Context
|
|
from django.contrib.auth.decorators import login_required
|
|
|
|
from pgweb.util.contexts import NavContext
|
|
|
|
from models import Contributor, ContributorType
|
|
|
|
def completelist(request):
|
|
contributortypes = list(ContributorType.objects.all())
|
|
return render_to_response('contributors/list.html', {
|
|
'contributortypes': contributortypes,
|
|
}, NavContext(request, 'community'))
|
|
|