diff --git a/openshift/templates/openshift/index.html b/openshift/templates/openshift/index.html
index a2a3a2a..3bba971 100644
--- a/openshift/templates/openshift/index.html
+++ b/openshift/templates/openshift/index.html
@@ -50,7 +50,7 @@
- Server hostname: {{ HOSTNAME }}
+ Server hostname: {{ hostname }}
Page views: {{ count }}
diff --git a/openshift/views.py b/openshift/views.py
index 5928757..679bbe9 100644
--- a/openshift/views.py
+++ b/openshift/views.py
@@ -9,6 +9,6 @@ def index(request):
hostname = os.getenv('HOSTNAME', 'unknown')
PageView.objects.create(hostname=hostname)
return render(request, 'openshift/index.html', {
- 'HOSTNAME': hostname,
+ 'hostname': hostname,
'count': PageView.objects.count()
})