doc/api/pyramid/core.rst
author Florent Cayré <florent.cayre@gmail.com>
Fri, 20 Jan 2017 03:48:11 +0100
branch3.24
changeset 11926 2deb9f6cbb7b
parent 11631 faf279e33298
permissions -rw-r--r--
[source,native] Generalize the IntegrityError constraint parsing regex This allows catching constraint-related errors that have been translated by psycopg2, replacing surrounding english quotes by french quotes + space for instance. Closes #17047951.

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