doc/api/pyramid/core.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 15 Jun 2018 17:45:26 +0200
changeset 12318 e947954e0ffc
parent 11631 faf279e33298
permissions -rw-r--r--
[py3] ensure AjaxController return bytes publish() must return bytes, when the @ajaxfunc decorated method return None, this raised: TypeError: You cannot set Response.body to a text object (use Response.text)

.. _core_module:

:mod:`cubicweb.pyramid.core`
----------------------------

.. automodule:: cubicweb.pyramid.core

    .. autofunction:: includeme

    .. autofunction:: cw_to_pyramid

    .. autofunction:: render_view

    .. autofunction:: repo_connect
    .. autofunction:: get_principals

    .. autoclass:: CubicWebPyramidRequest
        :show-inheritance:
        :members:

    .. autofunction:: _cw_session
    .. autofunction:: _cw_cnx
    .. autofunction:: _cw_request