summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-12-14 21:03:36 -0500
committerChris McDonough <chrism@plope.com>2011-12-14 21:03:36 -0500
commit351777c2f870ba4fb3ba2a81e6b413d3bf50da72 (patch)
tree98e923bd105349abf08f14736f34ab8fbdddb1fb /docs
parent3ee1022068481dea058064cf28c4bc114ca6bd51 (diff)
downloadpyramid-351777c2f870ba4fb3ba2a81e6b413d3bf50da72.tar.gz
pyramid-351777c2f870ba4fb3ba2a81e6b413d3bf50da72.tar.bz2
pyramid-351777c2f870ba4fb3ba2a81e6b413d3bf50da72.zip
fix for 1.0
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 fda0632f8..214ddfdfa 100644
--- a/docs/narr/scaffolding.rst
+++ b/docs/narr/scaffolding.rst
@@ -112,8 +112,8 @@ defining your scaffold template:
try: # pyramid 1.0.X
# "pyramid.paster_templates" doesn't exist past 1.0.X
- from pyramid.paster_templates import PyramidTemplate
- from pyramid.paster_templates import paste_script_template_renderer
+ from pyramid.paster import PyramidTemplate
+ from pyramid.paster import paste_script_template_renderer
except ImportError:
try: # pyramid 1.1.X, 1.2.X
# trying to import "paste_script_template_renderer" fails on 1.3.X