diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-13 19:23:53 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-13 19:23:53 -0600 |
commit | 9234d7787757a712f63d590748897f31d72ac61e (patch) | |
tree | 973b8bc1ed44aa3b7abd7bbe0b33295dcbd83e62 | |
parent | 9a9bf24787e5fe94fec00c68a7204c673d5a5206 (diff) |
Simplify the WSGI script
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | archweb.wsgi | 3 |
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") |