summaryrefslogtreecommitdiff
path: root/docs/narr/resources.rst
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-27 09:28:50 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-27 09:28:50 -0700
commit6f7b6c0221f8c120a22b630eea26905744d2b6b4 (patch)
tree6c8e1ae3affba81ec0c26eb183c4f424b577a1d5 /docs/narr/resources.rst
parent6d0ff23fc3094f3f40d93d020bbc80ecdfceb825 (diff)
parente8db031e8cd22affb65254539ae210f64d37f36e (diff)
downloadpyramid-6f7b6c0221f8c120a22b630eea26905744d2b6b4.tar.gz
pyramid-6f7b6c0221f8c120a22b630eea26905744d2b6b4.tar.bz2
pyramid-6f7b6c0221f8c120a22b630eea26905744d2b6b4.zip
Merge https://github.com/Pylons/pyramid
Diffstat (limited to 'docs/narr/resources.rst')
-rw-r--r--docs/narr/resources.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/narr/resources.rst b/docs/narr/resources.rst
index 4baa39bd3..3b9efe108 100644
--- a/docs/narr/resources.rst
+++ b/docs/narr/resources.rst
@@ -324,6 +324,11 @@ would have been what was returned anyway, but your code can perform arbitrary
logic as necessary. For example, your code may wish to override the hostname
or port number of the generated URL.
+Note that the URL generated by ``__resource_url__`` should be fully
+qualified, should end in a slash, and should not contain any query string or
+anchor elements (only path elements) to work best with
+:func:`pyramid.url.resource_url`.
+
Generating the Path To a Resource
---------------------------------