summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/upgrading.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/narr/upgrading.rst b/docs/narr/upgrading.rst
index 19cc2f4e6..e52c129fa 100644
--- a/docs/narr/upgrading.rst
+++ b/docs/narr/upgrading.rst
@@ -120,7 +120,10 @@ the deprecation warning from being issued. For example:
$ python -Wd setup.py test -q
# .. elided ...
running build_ext
- /home/chrism/projects/pyramid/env27/myproj/myproj/views.py:3: DeprecationWarning: static: The "pyramid.view.static" class is deprecated as of Pyramid 1.1; use the "pyramid.static.static_view" class instead with the "use_subpath" argument set to True.
+ /home/chrism/projects/pyramid/env27/myproj/myproj/views.py:3:
+ DeprecationWarning: static: The "pyramid.view.static" class is deprecated
+ as of Pyramid 1.1; use the "pyramid.static.static_view" class instead with
+ the "use_subpath" argument set to True.
from pyramid.view import static
.
----------------------------------------------------------------------