summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/static.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/static.rst b/docs/narr/static.rst
index 70c059e9c..bed922953 100644
--- a/docs/narr/static.rst
+++ b/docs/narr/static.rst
@@ -177,7 +177,7 @@ instead of a view name. For example, the ``name`` argument may be
.. code-block:: python
:linenos:
- config.add_static_view(name='http://example.com', path='mypackage:images')
+ config.add_static_view(name='http://example.com/images', path='mypackage:images')
Under such a configuration, the URL generated by ``static_url`` for
resources which begin with ``mypackage:images`` will be prefixed with