summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
authorparth2011-12-09 04:21:49 +0530
committerparth2011-12-09 04:21:49 +0530
commit864e4f98586f9cadea9f1695c641d1c963596b01 (patch)
treee881bdf920dded23c995dd4816cdd23a50d6feed /testapp
parentca3551e435ad9ac1f3a06161c3289227ccea0b09 (diff)
downloadonline_test-864e4f98586f9cadea9f1695c641d1c963596b01.tar.gz
online_test-864e4f98586f9cadea9f1695c641d1c963596b01.tar.bz2
online_test-864e4f98586f9cadea9f1695c641d1c963596b01.zip
Removed the apache directory as the wsgi script is automatically made by buildout in /bin/django.wsgi
Diffstat (limited to 'testapp')
-rw-r--r--testapp/apache/django.wsgi18
1 files changed, 0 insertions, 18 deletions
diff --git a/testapp/apache/django.wsgi b/testapp/apache/django.wsgi
deleted file mode 100644
index ef88526..0000000
--- a/testapp/apache/django.wsgi
+++ /dev/null
@@ -1,18 +0,0 @@
-import os
-from os.path import dirname, abspath
-import sys
-
-# This file is inside online_test/apache/django.wsgi
-# pth should be online_test
-pth = abspath(dirname(dirname(__file__)))
-if pth not in sys.path:
- sys.path.append(pth)
-# Now add the parent of online_test also.
-pth = dirname(pth)
-if pth not in sys.path:
- sys.path.append(pth)
-
-os.environ['DJANGO_SETTINGS_MODULE'] = 'online_test.settings'
-
-import django.core.handlers.wsgi
-application = django.core.handlers.wsgi.WSGIHandler()