django.wsgi
import os, sys
def application(environ, start_response):
status = '503 Service Unavailable'
output = 'Down for maintainance. We will be back soon !'
response_headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]