diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-01 19:33:06 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-01 19:33:06 -0500 |
| commit | f1ffaeeff438aa2ea768c508fe38e3dd108b9369 (patch) | |
| tree | 6ff2b0d0063be11ef0b3fa65232a37f629331165 /docs/narr/startup.rst | |
| parent | d195074f2c6ef704926cf56de4e26e36e11ee758 (diff) | |
| parent | 1220f3b8f869e4caf298d9acb5e5fffe0a86129e (diff) | |
| download | pyramid-f1ffaeeff438aa2ea768c508fe38e3dd108b9369.tar.gz pyramid-f1ffaeeff438aa2ea768c508fe38e3dd108b9369.tar.bz2 pyramid-f1ffaeeff438aa2ea768c508fe38e3dd108b9369.zip | |
Merge branch 'master' into twophase
Diffstat (limited to 'docs/narr/startup.rst')
| -rw-r--r-- | docs/narr/startup.rst | 2 |
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 |
