doc/api/pyramid.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 20 Jan 2017 15:16:18 +0100
branch3.24
changeset 11917 c38e13988c10
parent 11631 faf279e33298
child 12094 d66079e2d481
permissions -rw-r--r--
Fix str(Unauthorized) which is really problematic on python 3 where __unicode__ is never called anymore. This was caused because in PY3, CubicWebException.__str__ was referencing __unicode__ implementation of CubicWebException, not of its subclass that implements it. Fix a flake8 style warning about lambda assignment as a bonus.

:mod:`cubicweb.pyramid`
=======================

.. automodule:: cubicweb.pyramid

    .. autofunction:: make_cubicweb_application

    .. autofunction:: wsgi_application_from_cwconfig

    .. autofunction:: wsgi_application

.. toctree::
    :maxdepth: 1
    :glob:

    pyramid/*