doc/api/urlrewrite.rst
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 15 Mar 2019 21:35:59 +0100
changeset 12884 9754c40c732a
parent 10494 b6f00889355c
permissions -rw-r--r--
[server] drop system_source_cnx for a simpler internal API system_source_cnx() can be replaced with source_cnx(). If system_source_cnx() is called with dbms_system_base=False, it is strictly equivalent to calling source_cnx() with the same source, privileges and interactivity. If system_source_cnx() is called with dbms_system_base=True, it is equivalent to calling source_cnx() with the system database and the same source, privileges and interactivity. No use of the default value for 'special_privs' was found in the code.

.. _urlrewrite_module:

:mod:`cubicweb.web.views.urlrewrite`
=======================================

.. automodule:: cubicweb.web.views.urlrewrite

    .. autoclass:: URLRewriter
        :show-inheritance:
        :members:

    .. autoclass:: SimpleReqRewriter
        :show-inheritance:
        :members:

    .. autoclass:: SchemaBasedRewriter
        :show-inheritance:
        :members: