summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-04 12:28:56 -0400
committerChris McDonough <chrism@plope.com>2010-11-04 12:28:56 -0400
commit0c0c59f4a023db1c5cb8633c68291f290c416627 (patch)
tree5e2ed2ef7c451aba329a77993c38c0f401e7f2ea /docs/narr
parent7a3fd94d1066363c0f8e97215503d7118e06ead2 (diff)
downloadpyramid-0c0c59f4a023db1c5cb8633c68291f290c416627.tar.gz
pyramid-0c0c59f4a023db1c5cb8633c68291f290c416627.tar.bz2
pyramid-0c0c59f4a023db1c5cb8633c68291f290c416627.zip
we added more keys to the default paster template ini file app section, update the startup chapter to show them
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/startup.rst23
1 files changed, 12 insertions, 11 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst
index 506504454..53cbcd95c 100644
--- a/docs/narr/startup.rst
+++ b/docs/narr/startup.rst
@@ -85,12 +85,12 @@ press ``return`` after running ``paster serve development.ini``.
.. literalinclude:: MyProject/development.ini
:linenos:
- In this case, the ``myproject.run:app`` function referred to by the
- entry point URI ``egg:MyProject#app`` (see :ref:`MyProject_ini` for
- more information about entry point URIs, and how they relate to
- callables), will receive the key/value pairs
- ``{'reload_templates':'true', 'debug_authorization':'false',
- 'debug_notfound':'false'}``.
+ In this case, the ``myproject.run:app`` function referred to by the entry
+ point URI ``egg:MyProject#app`` (see :ref:`MyProject_ini` for more
+ information about entry point URIs, and how they relate to callables),
+ will receive the key/value pairs ``{'reload_templates':'true',
+ 'debug_authorization':'false', 'debug_notfound':'false',
+ 'debug_templates':'true', 'default_locale_name':'en'}``.
#. The ``app`` function first constructs a
:class:`pyramid.configuration.Configurator` instance, passing
@@ -102,11 +102,12 @@ press ``return`` after running ``paster serve development.ini``.
request to retrieve the application root. It is not called during
startup, only when a request is handled.
- The ``settings`` dictionary contains all the options in the
- ``[app:main]`` section of our .ini file except the "use" option
- (which is internal to paste). In this case, ``**settings`` will be
- something like ``{'reload_templates':'true',
- 'debug_authorization':'false', 'debug_notfound':'false'}``.
+ The ``settings`` dictionary contains all the options in the ``[app:main]``
+ section of our .ini file except the "use" option (which is internal to
+ paste). In this case, ``**settings`` will be something like
+ ``{'reload_templates':'true', 'debug_authorization':'false',
+ 'debug_notfound':'false', 'debug_templates':'true',
+ 'default_locale_name':'en'}``.
#. The ``app`` function then calls various methods on the an instance of the
class :class:`pyramid.configuration.Configurator` method. The intent of