summaryrefslogtreecommitdiff
path: root/archweb.wsgi
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-13 19:23:53 -0600
committerDan McGee <dan@archlinux.org>2013-01-13 19:23:53 -0600
commit9234d7787757a712f63d590748897f31d72ac61e (patch)
tree973b8bc1ed44aa3b7abd7bbe0b33295dcbd83e62 /archweb.wsgi
parent9a9bf24787e5fe94fec00c68a7204c673d5a5206 (diff)
Simplify the WSGI script
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'archweb.wsgi')
-rw-r--r--archweb.wsgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/archweb.wsgi b/archweb.wsgi
index 2e174249..abe5419a 100644
--- a/archweb.wsgi
+++ b/archweb.wsgi
@@ -4,10 +4,9 @@ import sys
import site
site.addsitedir('/srv/http/archweb-env/lib/python2.7/site-packages')
-sys.path.insert(0, "/srv/http")
sys.path.insert(0, "/srv/http/archweb")
-os.environ['DJANGO_SETTINGS_MODULE'] = "archweb.settings"
+os.environ['DJANGO_SETTINGS_MODULE'] = "settings"
os.chdir("/srv/http/archweb")