/usr/lib/python2.7/dist-packages/graphite/version/views.py is in graphite-web 0.9.12+debian-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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)
|