Chris McDonough
2010-11-12 0e238399d1e11aa0b91e9a8235e9f9e47a842f04
fix two references to a nonexistent function
1 files modified
6 ■■■■ changed files
docs/narr/static.rst 6 ●●●● patch | view | raw | blame | history
docs/narr/static.rst
@@ -122,7 +122,7 @@
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 @@
``/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::