summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/assets.rst2
-rw-r--r--docs/narr/introduction.rst2
2 files changed, 2 insertions, 2 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
diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst
index e30a23a9a..547f88ef3 100644
--- a/docs/narr/introduction.rst
+++ b/docs/narr/introduction.rst
@@ -826,7 +826,7 @@ trolls" or other people who seem to get their rocks off by berating fellow
users in our various offical support channels. We try to keep it well-lit
and new-user-friendly.
-Example: Visit irc://freenode.net#pyramid (the ``#pyramid`` channel on
+Example: Visit irc\://freenode.net#pyramid (the ``#pyramid`` channel on
irc.freenode.net in an IRC client) or the pylons-discuss maillist at
http://groups.google.com/group/pylons-discuss/ .