django-ex/openshift/views.py
2015-05-24 13:56:43 +02:00

7 lines
193 B
Python

import os
from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, 'openshift/index.html', {'HOSTNAME': os.getenv('HOSTNAME', 'unknown')})