~canonical-ci-engineering/ubuntu-ci-services-itself/graphite-web

« back to all changes in this revision

Viewing changes to webapp/graphite/version/views.py

  • Committer: Package Import Robot
  • Author(s): Jonas Genannt
  • Date: 2013-03-09 16:06:34 UTC
  • Revision ID: package-import@ubuntu.com-20130309160634-p1ei8oxvm3plrbas
Tags: upstream-0.9.10+debian
ImportĀ upstreamĀ versionĀ 0.9.10+debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.shortcuts import render_to_response
 
2
from graphite import settings
 
3
 
 
4
 
 
5
def index(request):
 
6
  context = {
 
7
    'version' : settings.WEBAPP_VERSION,
 
8
  }
 
9
  return render_to_response('version.html', context)