doc/book/devweb/property.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 20 Jan 2017 15:16:18 +0100
branch3.24
changeset 11917 c38e13988c10
parent 10491 c67bcee93248
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.

.. _cwprops:

The property mecanism
---------------------

.. XXX CWProperty and co


Property API
~~~~~~~~~~~~
.. XXX feed me

Registering and using your own property
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. XXX feed me