doc/book/devweb/views/baseviews.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 14 Jan 2016 18:35:07 +0100
changeset 11076 403a901b6b1e
parent 10491 c67bcee93248
permissions -rw-r--r--
[devtools] Re-implement generative tests using subtests Generative tests as implemented in logilab.common.testib are not compatible with tests runner other than lgc.pytest and this implementation differs from the standard library, which has support for subtests_ since Python 3.4. Use unittest2 to bridge the gap. Maybe it'd be good to implement this on logilab.common.testlib side at some point. Let's see how this gets received here first. .. _subtests: https://docs.python.org/3/library/unittest.html#subtests

Base views
----------

|cubicweb| provides a lot of standard views, that can be found in
:mod:`cubicweb.web.views` sub-modules.

A certain number of views are used to build the web interface, which apply to one
or more entities. As other appobjects, their identifier is what distinguish them
from each others. The most generic ones, found in
:mod:`cubicweb.web.views.baseviews`, are described below.

You'll probably want to customize one or more of the described views which are
default, generic, implementations.


.. automodule:: cubicweb.web.views.baseviews

You will also find modules providing some specific services:

.. automodule:: cubicweb.web.views.navigation