Openworm_Project/wsgi.py¶
WSGI config for Openworm_Project project.
It exposes the WSGI callable as a module-level variable named application
.
For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
-
Openworm_Project.wsgi.
application
= <django.core.handlers.wsgi.WSGIHandler object>¶ - def application(environ, start_response):
- if environ[‘mod_wsgi.process_group’] != ‘’:
- import signal os.kill(os.getpid(), signal.SIGINT)
return [“killed”]