summaryrefslogtreecommitdiff
path: root/docs/narr/startup.rst
diff options
context:
space:
mode:
authorBlaise Laflamme <blaise@laflamme.org>2010-11-28 02:21:38 -0500
committerBlaise Laflamme <blaise@laflamme.org>2010-11-28 02:21:38 -0500
commit23bfce0ea0fae605f67547f7b12e91fbe329d506 (patch)
tree141e2c6675620629336b48c0eedce0728ca9fd0d /docs/narr/startup.rst
parent54f097a8146b3fa20a0de8c357785929d1065fd0 (diff)
downloadpyramid-23bfce0ea0fae605f67547f7b12e91fbe329d506.tar.gz
pyramid-23bfce0ea0fae605f67547f7b12e91fbe329d506.tar.bz2
pyramid-23bfce0ea0fae605f67547f7b12e91fbe329d506.zip
Narrative doc cleanup
Diffstat (limited to 'docs/narr/startup.rst')
-rw-r--r--docs/narr/startup.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst
index 427acc319..9103bf20f 100644
--- a/docs/narr/startup.rst
+++ b/docs/narr/startup.rst
@@ -68,6 +68,7 @@ press ``return`` after running ``paster serve development.ini``.
``__init__.py`` module:
.. literalinclude:: MyProject/myproject/__init__.py
+ :language: python
:linenos:
Note that the constructor function accepts a ``global_config``
@@ -83,6 +84,7 @@ press ``return`` after running ``paster serve development.ini``.
Our generated ``development.ini`` file looks like so:
.. literalinclude:: MyProject/development.ini
+ :language: guess
:linenos:
In this case, the ``myproject.run:app`` function referred to by the entry