doc/book/devweb/resource.rst
author Simon Chabot <simon.chabot@logilab.fr>
Wed, 12 Feb 2020 13:58:17 +0100
changeset 12890 0cd5b9057202
parent 10491 c67bcee93248
permissions -rw-r--r--
[pyramid, predicate] Add a predicate that matches if the pattern is an eid in the DB

.. _resources:

Locate resources
----------------

.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_resource
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_doc_file
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_all_files

Static files handling
---------------------

.. autoattribute:: cubicweb.web.webconfig.WebConfiguration.static_directory
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_exists
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_open
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_add
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_del