fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for checking paths in waiter
[wolnelektury.git]
/
wolnelektury.wsgi.template
diff --git
a/wolnelektury.wsgi.template
b/wolnelektury.wsgi.template
index
76e3903
..
033bab1
100644
(file)
--- a/
wolnelektury.wsgi.template
+++ b/
wolnelektury.wsgi.template
@@
-1,6
+1,6
@@
#!%(python)s
import site
#!%(python)s
import site
-site.addsitedir('%(path)s/
lib/python2.5
/site-packages')
+site.addsitedir('%(path)s/
ve/lib/python2.6
/site-packages')
import os
from os.path import abspath, dirname, join
import os
from os.path import abspath, dirname, join
@@
-16,9
+16,11
@@
sys.path = [
'%(path)s/releases/current',
'%(path)s/releases/current/apps',
'%(path)s/releases/current/lib',
'%(path)s/releases/current',
'%(path)s/releases/current/apps',
'%(path)s/releases/current/lib',
+ '%(path)s/releases/current/lib/librarian',
] + sys.path
# Run Django
] + sys.path
# Run Django
+os.environ["CELERY_LOADER"] = "django"
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.core.handlers.wsgi import WSGIHandler
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.core.handlers.wsgi import WSGIHandler