doc/api/pyramid/tools.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 21 Feb 2017 08:54:20 +0100
changeset 11968 bb0dfc7d2d0e
parent 11930 83a921bae21c
permissions -rw-r--r--
[skeleton,pyramid] Move pyramid app definition in cubicweb.pyramid module The application definition is actually not specific to the final "cube" being bootstrapped from skeleton. This patch thus move the pyramid application function into cubicweb.pyramid module and let cubicweb register the "paste.app_factory" entry point (instead of the bootstrapped cube). Useless call to `config.scan` is dropped along the way.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11551
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     1
.. _tools_module:
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     2
11631
faf279e33298 Merge with pyramid-cubicweb
Yann Voté <yann.vote@logilab.fr>
parents: 11551
diff changeset
     3
:mod:`cubicweb.pyramid.tools`
11930
83a921bae21c [pkg] Fix some error on building documentation
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 11631
diff changeset
     4
-----------------------------
11551
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     5
11631
faf279e33298 Merge with pyramid-cubicweb
Yann Voté <yann.vote@logilab.fr>
parents: 11551
diff changeset
     6
.. automodule:: cubicweb.pyramid.tools
11551
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     7
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     8
    .. autofunction:: includeme
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     9
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
    10
    .. autofunction:: clone_user
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
    11
    .. autofunction:: cnx_attach_entity
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
    12
    .. autofunction:: cached_build_user
444cd2bba89d [doc] Document tools
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
    13
    .. autofunction:: clear_cache