X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4ee58649c86d9c4bd4ac89dd46325d0a1c443122..f1e6f920e97685377e877e93c76e2f2c2fd83b26:/redakcja.wsgi.template?ds=sidebyside diff --git a/redakcja.wsgi.template b/redakcja.wsgi.template index 6b772f34..d271fa16 100644 --- a/redakcja.wsgi.template +++ b/redakcja.wsgi.template @@ -1,4 +1,4 @@ -#!$PYTHON +#!$PYTHON_BIN import site site.addsitedir('$PYTHON_SITE') @@ -12,9 +12,9 @@ sys.stdout = sys.stderr # Add apps and lib directories to PYTHONPATH sys.path = [ - '$PROJECT_ROOT', - '$PROJECT_ROOT/lib', - '$PROJECT_ROOT/apps', + '$APP_DIR', + '$APP_DIR/lib', + '$APP_DIR/apps', ] + sys.path # Run Django