X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=doc%2Frouting.rst;h=76ef859c48b834dc47a2d73ca82bdd5a934c95db;hb=3443f6cd9e01dd386e24607f70858dbd829c53a1;hp=b2e93de8ef9062930109156d4bf1f0cdcc2b1926;hpb=665fc8d8f18c839935d48e84c9943952f78936f6;p=odoo%2Fodoo.git diff --git a/doc/routing.rst b/doc/routing.rst index b2e93de..76ef859 100644 --- a/doc/routing.rst +++ b/doc/routing.rst @@ -12,9 +12,18 @@ endpoints. In older version of OpenERP, adding RPC endpoints was done by subclassing the ``openerp.netsvc.ExportService`` class. Adding WSGI handlers was done by -registering them with the ``openerp.wsgi.register_wsgi_handler()`` function. +registering them with the :py:func:`openerp.wsgi.register_wsgi_handler` +function. Starting with OpenERP 7.1, exposing a new arbitrary WSGI handler is done with -the ``openerp.http.handler`` decorator while adding an RPC endpoint is done -with the ``openerp.http.rpc`` decorator. +the :py:func:`openerp.http.handler` decorator while adding an RPC endpoint is +done with the :py:func:`openerp.http.rpc` decorator. +.. _routing-decorators: + +Routing decorators +------------------ + +.. automodule:: openerp.http + :members: + :undoc-members: