projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IMP] website_mail: make the template / mail editor work. We now have a limited
[odoo/odoo.git]
/
openerp-wsgi.py
diff --git
a/openerp-wsgi.py
b/openerp-wsgi.py
index
48ffeaf
..
4a3f34d
100644
(file)
--- a/
openerp-wsgi.py
+++ b/
openerp-wsgi.py
@@
-1,4
+1,3
@@
-#!/usr/bin/python
# WSGI Handler sample configuration file.
#
# Change the appropriate settings below, in order to provide the parameters
# WSGI Handler sample configuration file.
#
# Change the appropriate settings below, in order to provide the parameters
@@
-11,7
+10,7
@@
#
# For gunicorn additional globals need to be defined in the Gunicorn section.
# Then the following command should run:
#
# For gunicorn additional globals need to be defined in the Gunicorn section.
# Then the following command should run:
-# $ gunicorn openerp:application -c openerp-wsgi.py
+# $ gunicorn openerp:service.wsgi_server.application -c openerp-wsgi.py
import openerp
import openerp
@@
-41,6
+40,8
@@
conf['addons_path'] = '../../addons/trunk,../../web/trunk/addons'
#----------------------------------------------------------
application = openerp.service.wsgi_server.application
#----------------------------------------------------------
application = openerp.service.wsgi_server.application
+openerp.service.server.load_server_wide_modules()
+
#----------------------------------------------------------
# Gunicorn
#----------------------------------------------------------
#----------------------------------------------------------
# Gunicorn
#----------------------------------------------------------