diff options
| author | John Anderson <sontek@gmail.com> | 2011-05-18 18:42:24 -0500 |
|---|---|---|
| committer | John Anderson <sontek@gmail.com> | 2011-05-18 18:42:24 -0500 |
| commit | 7d34f86e98b6002bccd1e04f205b3387c6a1118d (patch) | |
| tree | 714341ad82c6bad383caebd31b1920328e737a25 | |
| parent | 2ce65257cce304bd0f14d3b1bd4fd83ab957398b (diff) | |
| download | pyramid-7d34f86e98b6002bccd1e04f205b3387c6a1118d.tar.gz pyramid-7d34f86e98b6002bccd1e04f205b3387c6a1118d.tar.bz2 pyramid-7d34f86e98b6002bccd1e04f205b3387c6a1118d.zip | |
added correct module name to method references so that proper links are generated
| -rw-r--r-- | pyramid/url.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyramid/url.py b/pyramid/url.py index 2a6fda89a..a9d7862fd 100644 --- a/pyramid/url.py +++ b/pyramid/url.py @@ -20,7 +20,7 @@ def route_url(route_name, request, *elements, **kw): """Generates a fully qualified URL for a named :app:`Pyramid` :term:`route configuration`. - .. note:: Calling :meth:`pyramid.Request.route_url` can be used to + .. note:: Calling :meth:`pyramid.request.Request.route_url` can be used to achieve the same result as :func:`pyramid.url.route_url`. Use the route's ``name`` as the first positional argument. Use a @@ -159,7 +159,7 @@ def route_path(route_name, request, *elements, **kw): """Generates a path (aka a 'relative URL', a URL minus the host, scheme, and port) for a named :app:`Pyramid` :term:`route configuration`. - .. note:: Calling :meth:`pyramid.Request.route_path` can be used to + .. note:: Calling :meth:`pyramid.request.Request.route_path` can be used to achieve the same result as :func:`pyramid.url.route_path`. This function accepts the same argument as :func:`pyramid.url.route_url` @@ -191,7 +191,7 @@ def resource_url(resource, request, *elements, **kw): overall result of this function is always a UTF-8 encoded string (never Unicode). - .. note:: Calling :meth:`pyramid.Request.resource_url` can be used to + .. note:: Calling :meth:`pyramid.request.Request.resource_url` can be used to achieve the same result as :func:`pyramid.url.resource_url`. Examples:: @@ -325,7 +325,7 @@ def static_url(path, request, **kw): :meth:`pyramid.config.Configurator.add_static_view` :term:`configuration declaration` (see :ref:`static_assets_section`). - .. note:: Calling :meth:`pyramid.Request.static_url` can be used to + .. note:: Calling :meth:`pyramid.request.Request.static_url` can be used to achieve the same result as :func:`pyramid.url.static_url`. Example:: |
