wsgiserver

WSGIServer errors when trying to run Django app

Firstly, here's my script: #!/usr/bin/python import sys, os sys.path.append('/home/username/python') sys.path.append("/home/username/python/flup") sys.path.append("/home/username/python/django") # more path stuff os.environ['DJANGO_SETTINGS_MODULE'] = "project.settings" from django.core.servers.fastcgi import runfastcgi runfastcgi(me...

Spawning WSGI example (practical approach to WSGI)

Hi. I'm trying to understand how WSGI works. I know I could read the specs, but I'd still want to know how do I create a spawning application? A complete "hello world". Could someone show me an example? With everything, file naming, creating the module, running it. Every and each step. Thanks. (NB: while spawning seems a great piece of...