summaryrefslogtreecommitdiff
path: root/docs/narr/startup.rst
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-11-30 19:46:45 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-11-30 19:46:45 -0700
commit031d9f20baee7f57534a805809ac6a11319330ce (patch)
tree9ab03b9fca24b5542441649eecf287f9e9f48e92 /docs/narr/startup.rst
parent3f0f1a7c9e0177352023bbe67b1eddf9185d759a (diff)
parent5238ae329fb70e5e386db0b127d958c8523d7247 (diff)
downloadpyramid-031d9f20baee7f57534a805809ac6a11319330ce.tar.gz
pyramid-031d9f20baee7f57534a805809ac6a11319330ce.tar.bz2
pyramid-031d9f20baee7f57534a805809ac6a11319330ce.zip
Merge https://github.com/Pylons/pyramid
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