odoo_17.0.1/odoo/service/wsgi_server.py

12 lines
351 B
Python
Raw Normal View History

import warnings
import odoo.http
def application(environ, start_response):
warnings.warn("The WSGI application entrypoint moved from "
"odoo.service.wsgi_server.application to odoo.http.root "
"in 15.3.",
DeprecationWarning, stacklevel=1)
return odoo.http.root(environ, start_response)