docs/api/tools.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 16 Jun 2016 16:25:32 +0200
changeset 11623 b6f6737d4823
parent 11551 444cd2bba89d
permissions -rw-r--r--
wsgi: clearer exception when CW_INSTANCE is missing instance_name is mandatory for cwcfg.config_for() Raise with a KeyError: 'CW_INSTANCE' instead of hard to read exception.

.. _tools_module:

:mod:`pyramid_cubicweb.tools`
----------------------------

.. automodule:: pyramid_cubicweb.tools

    .. autofunction:: includeme

    .. autofunction:: clone_user
    .. autofunction:: cnx_attach_entity
    .. autofunction:: cached_build_user
    .. autofunction:: clear_cache