Skip to content

Instantly share code, notes, and snippets.

@kylef kylef/dispatch.fcgi
Created May 21, 2009

What would you like to do?
Django fastCGI dispatcher
#!/usr/bin/env python2.4
import sys, os
from fcgi import WSGIServer
if __name__ == '__main__':
sys.path += ['/home/kylef/python']
os.environ['DJANGO_SETTINGS_MODULE'] = 'kylef.settings'
from django.core.handlers.wsgi import WSGIHandler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.