File: views.py

package info (click to toggle)
graphite-web 1.2.1~pre2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,976 kB
  • sloc: javascript: 86,824; python: 25,420; makefile: 124; sh: 91; ruby: 74; perl: 24
file content (9 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
from django.shortcuts import render
from graphite import settings


def index(request):
    context = {
        'version' : settings.WEBAPP_VERSION,
    }
    return render(request, 'version.html', context)