summaryrefslogtreecommitdiff
path: root/docs/narr/vhosting.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-12-20 23:31:12 -0500
committerChris McDonough <chrism@plope.com>2010-12-20 23:31:12 -0500
commitbac5b32b47848b777ff7bd0b0ca7212d6d8dba9a (patch)
tree6bbacd8afd1c143356d75564afeef62ee33735be /docs/narr/vhosting.rst
parent163e1109fb267c0580425ae167cae12b9fd28680 (diff)
downloadpyramid-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.rst2
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
--------------------