This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
django.cgi | |
A simple cgi script which uses the django WSGI to serve requests. | |
Code copy/pasted from PEP-0333 and then tweaked to serve django. | |
http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side |