diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-12 15:12:41 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-12 15:12:41 -0500 |
| commit | 0e238399d1e11aa0b91e9a8235e9f9e47a842f04 (patch) | |
| tree | 336fb0ba5e1330ba1f4bffddcf504d731b5ad0d3 /docs/narr | |
| parent | 76d7eb6a4b9bc73c7fb39c45730c7e2b480e8e98 (diff) | |
| download | pyramid-0e238399d1e11aa0b91e9a8235e9f9e47a842f04.tar.gz pyramid-0e238399d1e11aa0b91e9a8235e9f9e47a842f04.tar.bz2 pyramid-0e238399d1e11aa0b91e9a8235e9f9e47a842f04.zip | |
fix two references to a nonexistent function
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/static.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/static.rst b/docs/narr/static.rst index e350bc693..efeabd012 100644 --- a/docs/narr/static.rst +++ b/docs/narr/static.rst @@ -122,7 +122,7 @@ Generating Static Resource URLs When a :meth:`pyramid.configuration.Configurator.add_static_view` method is used to register a static resource directory, a special helper API named -:func:`pyramid.static_url` can be used to generate the appropriate URL for a +:func:`pyramid.url.static_url` can be used to generate the appropriate URL for a package resource that lives in one of the directories named by the static registration ``path`` attribute. @@ -246,8 +246,8 @@ be accessible as the static view against any model. This will also allow ``/static/foo.js`` to work, but it will allow for ``/anything/static/foo.js`` too, as long as ``anything`` itself is resolvable. -Note that you cannot use the :func:`pyramid.static_url` API to generate URLs -against resources made accessible by registering a custom static view. +Note that you cannot use the :func:`pyramid.url.static_url` API to generate +URLs against resources made accessible by registering a custom static view. .. warning:: |
