diff options
author | Prabhu Ramachandran | 2011-12-24 05:46:36 -0800 |
---|---|---|
committer | Prabhu Ramachandran | 2011-12-24 05:46:36 -0800 |
commit | 95e9ea0f60b21595fa0f6ffea12da13b33821018 (patch) | |
tree | 8114286da06869c7059d6dbb2322641f15202408 /apache/django.wsgi | |
parent | 7104f495d01fb934af11c8dfd09da087174c1b12 (diff) | |
parent | 7b819758d4d60822c19611845a44f8c5301a391c (diff) | |
download | online_test-95e9ea0f60b21595fa0f6ffea12da13b33821018.tar.gz online_test-95e9ea0f60b21595fa0f6ffea12da13b33821018.tar.bz2 online_test-95e9ea0f60b21595fa0f6ffea12da13b33821018.zip |
Merge pull request #2 from parth115/master
Changed to Buildout
Diffstat (limited to 'apache/django.wsgi')
-rw-r--r-- | apache/django.wsgi | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/apache/django.wsgi b/apache/django.wsgi deleted file mode 100644 index ef88526..0000000 --- a/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() |