diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-09-14 10:51:27 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-09-14 10:51:27 +0200 |
| commit | e242cb4ab6d15113de0ec6fff545d6d4d5674080 (patch) | |
| tree | 5f83d0d5712be09b3cf2eda7a8157c37233cfeee /addons/web/__init__.py | |
| parent | 834e14255959138f1e93f89fe6d8f2add00866fa (diff) | |
[IMP] options backend local or rpc
bzr revid: al@openerp.com-20110914085127-16ovkmi77fimsmoh
Diffstat (limited to 'addons/web/__init__.py')
| -rw-r--r-- | addons/web/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/__init__.py b/addons/web/__init__.py index ec702292ce8..bcb8f6db28c 100644 --- a/addons/web/__init__.py +++ b/addons/web/__init__.py @@ -5,6 +5,7 @@ import logging _logger = logging.getLogger(__name__) + try: import openerp.wsgi import os @@ -17,8 +18,7 @@ try: o.session_storage = os.path.join(tempfile.gettempdir(), "oe-sessions") o.addons_path = os.path.dirname(os.path.dirname(__file__)) o.serve_static = True - o.server_host = '127.0.0.1' - o.server_port = 8069 + o.backend = 'local' app = common.dispatch.Root(o) #import openerp.wsgi |
