summaryrefslogtreecommitdiff
path: root/docs/narr/scaffolding.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-12-05 12:36:37 -0500
committerChris McDonough <chrism@plope.com>2013-12-05 12:36:37 -0500
commitb13969deeb80dd9aa5130d16ea712b323ac3bafe (patch)
treeb4f446fb193f9e8401e9425ca39b90feea8eea65 /docs/narr/scaffolding.rst
parent4065081434a455a61377c770705375e085be8f16 (diff)
parent3a950cb42ee450a02d567b25bcb2847f586eabfa (diff)
downloadpyramid-b13969deeb80dd9aa5130d16ea712b323ac3bafe.tar.gz
pyramid-b13969deeb80dd9aa5130d16ea712b323ac3bafe.tar.bz2
pyramid-b13969deeb80dd9aa5130d16ea712b323ac3bafe.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/scaffolding.rst')
-rw-r--r--docs/narr/scaffolding.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/scaffolding.rst b/docs/narr/scaffolding.rst
index 534b2caf4..f924d0d62 100644
--- a/docs/narr/scaffolding.rst
+++ b/docs/narr/scaffolding.rst
@@ -39,9 +39,9 @@ named ``__init__.py`` with something like the following:
from pyramid.scaffolds import PyramidTemplate
- class CoolExtensionTemplate(PyramidTemplate):
- _template_dir = 'coolextension_scaffold'
- summary = 'My cool extension'
+ class CoolExtensionTemplate(PyramidTemplate):
+ _template_dir = 'coolextension_scaffold'
+ summary = 'My cool extension'
Once this is done, within the ``scaffolds`` directory, create a template
directory. Our example used a template directory named
@@ -89,7 +89,7 @@ For example:
[pyramid.scaffold]
coolextension=coolextension.scaffolds:CoolExtensionTemplate
"""
- )
+ )
Run your distribution's ``setup.py develop`` or ``setup.py install``
command. After that, you should be able to see your scaffolding template
@@ -112,7 +112,7 @@ want to have extension scaffolds that can work across Pyramid 1.0.X, 1.1.X,
defining your scaffold template:
.. code-block:: python
- :linenos:
+ :linenos:
try: # pyramid 1.0.X
# "pyramid.paster.paste_script..." doesn't exist past 1.0.X