[FIX] developer/http: adapt to recent httppocalypse changes
See https://github.com/odoo/odoo/pull/78857 closes odoo/documentation#1640 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
parent
a75c78e9d4
commit
d4367c4d9a
@ -56,7 +56,7 @@ API
|
|||||||
Routing
|
Routing
|
||||||
-------
|
-------
|
||||||
|
|
||||||
.. autofunction:: odoo.http.route
|
.. autodecorator:: odoo.http.route
|
||||||
|
|
||||||
.. _reference/http/request:
|
.. _reference/http/request:
|
||||||
|
|
||||||
@ -64,15 +64,18 @@ Request
|
|||||||
-------
|
-------
|
||||||
|
|
||||||
The request object is automatically set on :data:`odoo.http.request` at
|
The request object is automatically set on :data:`odoo.http.request` at
|
||||||
the start of the request
|
the start of the request.
|
||||||
|
|
||||||
.. autoclass:: odoo.http.WebRequest
|
.. autoclass:: odoo.http.Request
|
||||||
:members:
|
:members:
|
||||||
:member-order: bysource
|
:member-order: bysource
|
||||||
.. autoclass:: odoo.http.HttpRequest
|
|
||||||
|
.. autoclass:: odoo.http.JsonRPCDispatcher
|
||||||
:members:
|
:members:
|
||||||
.. autoclass:: odoo.http.JsonRequest
|
:member-order: bysource
|
||||||
|
.. autoclass:: odoo.http.HttpDispatcher
|
||||||
:members:
|
:members:
|
||||||
|
:member-order: bysource
|
||||||
|
|
||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
@ -525,7 +525,7 @@ At a deeper level than the previous helper is the ``render`` method on
|
|||||||
Sets up a number of default values in the rendering context:
|
Sets up a number of default values in the rendering context:
|
||||||
|
|
||||||
``request``
|
``request``
|
||||||
the current :class:`~odoo.http.WebRequest` object, if any
|
the current :class:`~odoo.http.Request` object, if any
|
||||||
``debug``
|
``debug``
|
||||||
whether the current request (if any) is in ``debug`` mode
|
whether the current request (if any) is in ``debug`` mode
|
||||||
:func:`quote_plus <werkzeug.urls.url_quote_plus>`
|
:func:`quote_plus <werkzeug.urls.url_quote_plus>`
|
||||||
|
Loading…
Reference in New Issue
Block a user