From bac5b32b47848b777ff7bd0b0ca7212d6d8dba9a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 20 Dec 2010 23:31:12 -0500 Subject: 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. --- docs/narr/vhosting.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/narr/vhosting.rst') 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 -------------------- -- cgit v1.2.3