summaryrefslogtreecommitdiff
path: root/web/pgperffarm/views.py
blob: 91e1808bec7098682d8ae168f5753b14e6ffe30e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""Views for the core PGPerfFarm app"""

from django.shortcuts import render_to_response
from django.template import RequestContext

import datetime


# Handle the static pages
def index(request):
    return render_to_response('index.html',
                              context_instance=RequestContext(request))


def licence(request):
    return render_to_response('licence.html',
                              context_instance=RequestContext(request))


def ppolicy(request):
    return render_to_response('ppolicy.html',
                              context_instance=RequestContext(request))