File: views.py

package info (click to toggle)
graphite-web 0.9.12%2Bdebian-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,464 kB
  • ctags: 3,343
  • sloc: python: 6,713; sh: 79; makefile: 44
file content (9 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from django.shortcuts import render_to_response
from graphite import settings


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