diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-20 23:31:12 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-20 23:31:12 -0500 |
| commit | bac5b32b47848b777ff7bd0b0ca7212d6d8dba9a (patch) | |
| tree | 6bbacd8afd1c143356d75564afeef62ee33735be /docs/narr/vhosting.rst | |
| parent | 163e1109fb267c0580425ae167cae12b9fd28680 (diff) | |
| download | pyramid-bac5b32b47848b777ff7bd0b0ca7212d6d8dba9a.tar.gz pyramid-bac5b32b47848b777ff7bd0b0ca7212d6d8dba9a.tar.bz2 pyramid-bac5b32b47848b777ff7bd0b0ca7212d6d8dba9a.zip | |
Features
--------
- If a resource implements a ``__resource_url__`` method, it will be called
as the result of invoking the ``pyramid.url.resource_url`` function to
generate a URL, overriding the default logic. See the new "Generating The
URL Of A Resource" section within the Resources narrative chapter.
Documentation
-------------
- Added "Generating The URL Of A Resource" section to the Resources narrative
chapter (includes information about overriding URL generation using
``__resource_url__``).
- Added "Generating the Path To a Resource" section to the Resources
narrative chapter.
- Added "Finding a Resource by Path" section to the Resources narrative
chapter.
Diffstat (limited to 'docs/narr/vhosting.rst')
| -rw-r--r-- | docs/narr/vhosting.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/narr/vhosting.rst b/docs/narr/vhosting.rst index 65168806e..d3ff260e3 100644 --- a/docs/narr/vhosting.rst +++ b/docs/narr/vhosting.rst @@ -78,6 +78,8 @@ In the above configuration, we root a :app:`Pyramid` application at .. index:: single: virtual root +.. _virtual_root_support: + Virtual Root Support -------------------- |
