X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fb1b8f7e6c3aee1ba755affdf27472a7c995050d..9531d8a55106384d86cda24825b5f9a9d769d33d:/wolnelektury/wolnelektury.wsgi?ds=sidebyside diff --git a/wolnelektury/wolnelektury.wsgi b/wolnelektury/wolnelektury.wsgi index 590d36bcd..acafede9c 100644 --- a/wolnelektury/wolnelektury.wsgi +++ b/wolnelektury/wolnelektury.wsgi @@ -8,12 +8,12 @@ import sys sys.stdout = sys.stderr # Add apps and lib directories to PYTHONPATH -sys.path.insert(0, abspath(join(dirname(__file__), '../../apps'))) -sys.path.insert(0, abspath(join(dirname(__file__), '../../lib'))) +sys.path.insert(0, abspath(join(dirname(__file__), '../apps'))) +sys.path.insert(0, abspath(join(dirname(__file__), '../lib'))) # Emulate manage.py path hacking. -sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) sys.path.insert(0, abspath(join(dirname(__file__), "../"))) +sys.path.insert(0, abspath(join(dirname(__file__), "."))) # Run Django os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'