From fdfdd863a6bcf33f79b54b1b6a18e5738c55518c Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Tue, 18 Jan 2011 20:17:27 -0700 Subject: resource => asset --- docs/narr/extending.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/narr/extending.rst') diff --git a/docs/narr/extending.rst b/docs/narr/extending.rst index eb7f0b24e..0f20d95aa 100644 --- a/docs/narr/extending.rst +++ b/docs/narr/extending.rst @@ -196,7 +196,7 @@ like this: :ref:`creating_a_project` for more information. - In the new package, create Python files containing views and other - overridden elements, such as templates and static resources as necessary. + overridden elements, such as templates and static assets as necessary. - Install the new package into the same Python environment as the original application (e.g. ``python setup.py develop`` or ``python setup.py -- cgit v1.2.3 From 80dbf47426355444de578f4299897d74c3d6aa3a Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Tue, 18 Jan 2011 20:19:13 -0700 Subject: resource => asset --- docs/narr/extending.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/narr/extending.rst') diff --git a/docs/narr/extending.rst b/docs/narr/extending.rst index 0f20d95aa..eb905acd4 100644 --- a/docs/narr/extending.rst +++ b/docs/narr/extending.rst @@ -278,7 +278,7 @@ into the override package's file and changing them as necessary. Then disinclude any ``add_route`` statements from the original application. .. index:: - pair: overriding; resources + pair: overriding; assets .. _overriding_resources: @@ -286,10 +286,10 @@ Overriding Assets ~~~~~~~~~~~~~~~~~ Assets are files on the filesystem that are accessible within a Python -*package*. An entire chapter is devoted to resources: :ref:`assets_chapter`. +*package*. An entire chapter is devoted to assets: :ref:`assets_chapter`. Within this chapter is a section named :ref:`overriding_assets_section`. This section of that chapter describes in detail how to override package -resources with other resources by using the +assets with other assets by using the :meth:`pyramid.config.Configurator.override_asset` method. Add such ``override_asset`` calls to your override package's ``__init__.py`` to perform overrides. -- cgit v1.2.3