diff options
Diffstat (limited to 'apache/django.wsgi')
| -rw-r--r-- | apache/django.wsgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apache/django.wsgi b/apache/django.wsgi new file mode 100644 index 0000000..16758e6 --- /dev/null +++ b/apache/django.wsgi @@ -0,0 +1,6 @@ +import os, sys +MAIN_PATH = os.path.realpath(os.path.dirname(__file__)) + "/.." +sys.path.append(MAIN_PATH) +os.environ['DJANGO_SETTINGS_MODULE'] = 'mychimere_project.settings' # change with your project name +import django.core.handlers.wsgi +application = django.core.handlers.wsgi.WSGIHandler() |
