[DOC] openerp.http: use sphinx domains.
bzr revid: vmt@openerp.com-20130201151354-uyxgyt0aw101a2mq
This commit is contained in:
parent
c8ffd1cedc
commit
56df6d6ecc
|
@ -12,9 +12,16 @@ endpoints.
|
||||||
|
|
||||||
In older version of OpenERP, adding RPC endpoints was done by subclassing the
|
In older version of OpenERP, adding RPC endpoints was done by subclassing the
|
||||||
``openerp.netsvc.ExportService`` class. Adding WSGI handlers was done by
|
``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
|
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
|
the :py:func:`openerp.http.handler` decorator while adding an RPC endpoint is
|
||||||
with the ``openerp.http.rpc`` decorator.
|
done with the :py:func:`openerp.http.rpc` decorator.
|
||||||
|
|
||||||
|
Routing decorators
|
||||||
|
------------------
|
||||||
|
|
||||||
|
.. automodule:: openerp.http
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Decorators to register WSGI and RPC endpoints handlers. See doc/routing.rst.
|
``openerp.http`` offers decorators to register WSGI and RPC endpoints handlers.
|
||||||
# TODO use sphinx ref to doc/routing.rst.
|
See :ref:`routing`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from . import service
|
from . import service
|
||||||
|
|
Loading…
Reference in New Issue