summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-08 21:23:10 -0800
committerCasey Duncan <casey.duncan@gmail.com>2010-12-08 21:23:10 -0800
commitd00dfb7a4b8adb8136c6d0b22897f11ec4dfe144 (patch)
treed4b6357166346e03708a72c5e3a58a813e4e18e4 /docs
parent80e237b04a30110903b3735d1754e23b66ddbd6e (diff)
downloadpyramid-d00dfb7a4b8adb8136c6d0b22897f11ec4dfe144.tar.gz
pyramid-d00dfb7a4b8adb8136c6d0b22897f11ec4dfe144.tar.bz2
pyramid-d00dfb7a4b8adb8136c6d0b22897f11ec4dfe144.zip
XXX fix add_static_view example confirm this is correct XXX
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 6331560f1..b6ed5b2ba 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='static1', path='mypackage:images')
+ config.add_static_view(name='http://example.com', path='mypackage:images')
Under such a configuration, the URL generated by ``static_url`` for
resources which begin with ``mypackage:images`` will be prefixed with