From b1e795e320a505f9ed737a5f1466261508cfc33b Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Sat, 1 Oct 2011 15:03:48 -0600 Subject: Fix incorrect import in static view example --- docs/narr/assets.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/assets.rst b/docs/narr/assets.rst index cd76f7b60..4f80d33c7 100644 --- a/docs/narr/assets.rst +++ b/docs/narr/assets.rst @@ -335,7 +335,7 @@ your application root as below. .. code-block:: python :linenos: - from pyramid.static import static + from pyramid.static import static_view static_view = static_view('/path/to/static/dir', use_subpath=True) .. note:: For better cross-system flexibility, use an :term:`asset -- cgit v1.2.3