doc/api/pyramid/core.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 30 Sep 2016 17:18:15 +0200
changeset 11759 7b7108eb8178
parent 11631 faf279e33298
permissions -rw-r--r--
[entity] Stop linking to external site for external entities This behaviour was ok when we had "true" multi-sources but its rather painful with datafeed sources. Also, it makes absolute_url() costlier than what it should. Besides, it relies on cw_metainformation()['source'] that is pending for removal. Instead, add a link to the original object in the metadata view (the one that displays eid and source at the bottom right corner of the primary view). Related to #15538288.

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