diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2011-10-01 15:03:48 -0600 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2011-10-01 15:03:48 -0600 |
| commit | b1e795e320a505f9ed737a5f1466261508cfc33b (patch) | |
| tree | 46308df1e42bf37c6312df52d4f4dae0a0c5512f /docs/narr/assets.rst | |
| parent | 3c449c316085b8d86175dc522bc67697d0781756 (diff) | |
| download | pyramid-b1e795e320a505f9ed737a5f1466261508cfc33b.tar.gz pyramid-b1e795e320a505f9ed737a5f1466261508cfc33b.tar.bz2 pyramid-b1e795e320a505f9ed737a5f1466261508cfc33b.zip | |
Fix incorrect import in static view example
Diffstat (limited to 'docs/narr/assets.rst')
| -rw-r--r-- | docs/narr/assets.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
