fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow dash in create form
[redakcja.git]
/
redakcja.wsgi.template
diff --git
a/redakcja.wsgi.template
b/redakcja.wsgi.template
index
6b772f3
..
d271fa1
100644
(file)
--- a/
redakcja.wsgi.template
+++ b/
redakcja.wsgi.template
@@
-1,4
+1,4
@@
-#!$PYTHON
+#!$PYTHON
_BIN
import site
site.addsitedir('$PYTHON_SITE')
import site
site.addsitedir('$PYTHON_SITE')
@@
-12,9
+12,9
@@
sys.stdout = sys.stderr
# Add apps and lib directories to PYTHONPATH
sys.path = [
# 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
] + sys.path
# Run Django