# Put the contents below into a file DjangoWsgiWrapper.py and put it in your # WSGI Tool directory # If you want to pre-integrate it (ie not have it picked up from the # filesystem), then add "import DjangoWsgiWrapper" to the _initopts function # in WSGIMainTool (WSGITool.py) import os from django.core.handlers.wsgi import WSGIHandler # replace with your settings file os.environ['DJANGO_SETTINGS_MODULE'] = "apps.settings" # replace "app" with the name of your app. # You will access django by going to http://yoursite/WSGI/app registerWSGI('app', WSGIHandler())