doc/book/devweb/resource.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 20 Jan 2017 09:55:08 +0100
changeset 11916 f0bc9ca93e21
parent 10491 c67bcee93248
permissions -rw-r--r--
[test] avoid using a deprecated feature of yams handle_file() now require a module name (yams@d9120d7)

.. _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