regluit/deploy/regluit.wsgi

11 lines
238 B
Python

#!/usr/bin/env python
import os
import socket
import django.core.handlers.wsgi
hostname = socket.gethostname()
os.environ['DJANGO_SETTING_MODULE'] = 'regluit.settings_%s' % hostname
application = django.core.handlers.wsgi.WSGIHander()