Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (13 sloc) 565 Bytes
import os, sys
project_path = "/home/oguz/git/ovizart"
project_app_path = "/home/oguz/git/ovizart/ovizart"
if project_path not in sys.path:
sys.path.append(project_path)
if project_app_path not in sys.path:
sys.path.append(project_app_path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'ovizart.settings'
import django.core.handlers.wsgi
_application = django.core.handlers.wsgi.WSGIHandler()
def application(environ, start_response):
environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO']
return _application(environ, start_response)
Jump to Line
Something went wrong with that request. Please try again.