src/cm/wsgi.py
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Thu, 08 May 2014 11:43:45 +0200
changeset 649 fcf5309284df
parent 586 59cddf254ebd
permissions -rw-r--r--
Correct test of text to take into account the text tag order+ augment test timeout

import os
import sys

os.environ['DJANGO_SETTINGS_MODULE'] = 'cm.settings'

path = os.environ['PROJECT_PATH']
if path not in sys.path:
    sys.path.append(path)

import django.core.handlers.wsgi
app = django.core.handlers.wsgi.WSGIHandler()