From d00dfb7a4b8adb8136c6d0b22897f11ec4dfe144 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Wed, 8 Dec 2010 21:23:10 -0800 Subject: XXX fix add_static_view example confirm this is correct XXX --- docs/narr/static.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3