File: views.py

package info (click to toggle)
graphite-web 1.1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,592 kB
  • sloc: javascript: 86,823; python: 11,977; sh: 61; makefile: 50
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)