doc/book/devweb/views/startup.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 15 Mar 2019 12:12:23 +0100
branch3.26
changeset 12617 f59439bac0a8
parent 10491 c67bcee93248
permissions -rw-r--r--
Skip tests for ldapsource with python >= 3.7 Until someone works on fixing these, this should make our CI green again. I tried to use setupModule() to check for python version, but pre_setup_database() is apparently called even when a SkipTest exception is raised there. So handle this in that method. (grafted from 4d68d20427dee4b6751a0f1f5511fec2a04f4782)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5301
f4219a6e62e3 [doc/book] stuff a bit the publishing process (including various docstrings)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5266
diff changeset
     1
Startup views
f4219a6e62e3 [doc/book] stuff a bit the publishing process (including various docstrings)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5266
diff changeset
     2
-------------
f4219a6e62e3 [doc/book] stuff a bit the publishing process (including various docstrings)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5266
diff changeset
     3
7897
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
     4
Startup views are views requiring no context, from which you usually start
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
     5
browsing (for instance the index page). The usual selectors are
8190
2a3c1b787688 [vreg] move base registry implementation to logilab.common. Closes #1916014
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7897
diff changeset
     6
:class:`~cubicweb.predicates.none_rset` or :class:`~logilab.common.registry.yes`.
5301
f4219a6e62e3 [doc/book] stuff a bit the publishing process (including various docstrings)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5266
diff changeset
     7
7897
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
     8
You'll find here a description of startup views provided by the framework.
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
     9
7897
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
    10
.. automodule:: cubicweb.web.views.startup
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
    11
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
    12
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
    13
Other startup views:
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    14
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    15
*schema*
2476
1294a6bdf3bf application -> instance where it makes sense
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 1714
diff changeset
    16
    A view dedicated to the display of the schema of the instance
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    17
7897
defac26f4151 [book] startup views: add a note about *manage* view
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5394
diff changeset
    18
.. XXX to be continued