doc/api/pyramid/core.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 06 Feb 2017 11:21:31 +0100
branch3.24
changeset 11948 73ed9c204de9
parent 11631 faf279e33298
permissions -rw-r--r--
[migration] Move pyramid-related migration after "entities" table modifications Otherwise, we getting into `add_entity_type('CWSession')` we try to insert a CWEType without any 'asource' column (per 3.24's schema) whereas the backend still wants it. Closes #17054035.

.. _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