summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-12-14 22:22:44 -0500
committerChris McDonough <chrism@plope.com>2011-12-14 22:22:44 -0500
commit604b812a4361a63ed93f3135be3a800d5592b2a1 (patch)
treef5b6fbb9cee6a6f62f6723863ca166220f3e5e11 /docs
parent351777c2f870ba4fb3ba2a81e6b413d3bf50da72 (diff)
downloadpyramid-604b812a4361a63ed93f3135be3a800d5592b2a1.tar.gz
pyramid-604b812a4361a63ed93f3135be3a800d5592b2a1.tar.bz2
pyramid-604b812a4361a63ed93f3135be3a800d5592b2a1.zip
avoid warning under 1.2
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/scaffolding.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/scaffolding.rst b/docs/narr/scaffolding.rst
index 214ddfdfa..3e7b102fd 100644
--- a/docs/narr/scaffolding.rst
+++ b/docs/narr/scaffolding.rst
@@ -111,9 +111,9 @@ defining your scaffold template:
:linenos:
try: # pyramid 1.0.X
- # "pyramid.paster_templates" doesn't exist past 1.0.X
- from pyramid.paster import PyramidTemplate
+ # "pyramid.paster.paste_script..." doesn't exist past 1.0.X
from pyramid.paster import paste_script_template_renderer
+ from pyramid.paster import PyramidTemplate
except ImportError:
try: # pyramid 1.1.X, 1.2.X
# trying to import "paste_script_template_renderer" fails on 1.3.X