doc/book/devweb/resource.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Feb 2017 10:37:37 +0100
changeset 11978 9d27e426adc2
parent 10491 c67bcee93248
permissions -rw-r--r--
[skel] Fix rpm's .spec file skeleton It's broken for new-style packages since it doesn't consider (even remove) python packages.

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