From b65d8eacda1da9105b027e8e02e95be13854061a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Dec 2008 20:49:45 +0000 Subject: - Updated paster template "ez_setup.py" to one that requires setuptools 0.6c9. - Turn ``view_execution_permitted`` from the :mod:`repoze.bfg.view` module into a documented API. - Doc cleanups. --- docs/narr/startup.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'docs/narr/startup.rst') diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst index b9391b273..e12f0ef81 100644 --- a/docs/narr/startup.rst +++ b/docs/narr/startup.rst @@ -90,7 +90,8 @@ press ``return`` after running ``paster serve MyProject.ini``. 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'}``. + ``{'reload_templates':'true', 'debug_authorization':'false', + 'debug_notfound':'false'}``. #. The constructor itself is invoked. A generated :mod:`repoze.bfg` ``app`` function will look like the below. @@ -109,14 +110,14 @@ press ``return`` after running ``paster serve MyProject.ini``. package which allows the user to pass framework-related (as opposed to application-related) options to an application constructor. It picks off framework-related options from the ``**kw`` dictionary - passed in to the constructor. We actually use a framework option - named ``reload_templates`` in our configuration. Note that we make - no use of this option in our application, but the fact that we use - ``get_options`` to parse the ``*kw`` dict, and subsequently pass - along the result as the ``options`` argument to ``make_app``. - ``reload_templates`` has special meaning to the framework: if it's - ``true``, we will cause templates to be automatically reloaded by - the application when they are changed. + passed in to the constructor. For example, we actually use a + framework option named ``reload_templates`` in our configuration. + Note that we make no use of this option in our application, but the + fact that we use ``get_options`` to parse the ``*kw`` dict, and + subsequently pass along the result as the ``options`` argument to + ``make_app``. ``reload_templates`` has special meaning to the + framework: if it's ``true``, we will cause templates to be + automatically reloaded by the application when they are changed. ``get_root`` is the first argument to ``make_app``, and it is a callable that is invoked on every request to retrieve the -- cgit v1.2.3