summaryrefslogtreecommitdiff
path: root/docs/narr/extending.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-19 01:37:18 -0500
committerChris McDonough <chrism@plope.com>2011-01-19 01:37:18 -0500
commite3bb4cd9e413e58ec6c7ea7d4682bac329b712dd (patch)
treeb0c3b4f5dd8a0ec1c01912bfeff769d1329a9c97 /docs/narr/extending.rst
parent48bccbe4ff7351d823a471005effea1afc06bb4f (diff)
parentb0240d3d5a39a504d5a5155a23a6d6a431b457ef (diff)
downloadpyramid-e3bb4cd9e413e58ec6c7ea7d4682bac329b712dd.tar.gz
pyramid-e3bb4cd9e413e58ec6c7ea7d4682bac329b712dd.tar.bz2
pyramid-e3bb4cd9e413e58ec6c7ea7d4682bac329b712dd.zip
Merge branch 'caseman-master'
Diffstat (limited to 'docs/narr/extending.rst')
-rw-r--r--docs/narr/extending.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/extending.rst b/docs/narr/extending.rst
index eb7f0b24e..eb905acd4 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
@@ -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.