summaryrefslogtreecommitdiff
path: root/docs/narr/scaffolding.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-11-18 07:03:51 -0500
committerChris McDonough <chrism@plope.com>2013-11-18 07:03:51 -0500
commitc503891d43251e7bf6111c6c1f521b43c55d917b (patch)
tree3028630a1d1e331718e16be26a54d69c56d76b9d /docs/narr/scaffolding.rst
parent345694c8eb6dff9ef7375374c5032e53b764c1de (diff)
parentfb15c26a2960d5f7bf598c147f1dd6ad6a062952 (diff)
downloadpyramid-c503891d43251e7bf6111c6c1f521b43c55d917b.tar.gz
pyramid-c503891d43251e7bf6111c6c1f521b43c55d917b.tar.bz2
pyramid-c503891d43251e7bf6111c6c1f521b43c55d917b.zip
Merge branch 'master' into 1.5-branch
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