From 6e18779652d2d02370c94bed040d55f2808e37f4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 11 Jan 2009 02:37:42 +0000 Subject: Fix docs and templates to account for deprecation of get_options. --- docs/narr/project.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/narr/project.rst') diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 799958f7c..89e4e1d9e 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -582,9 +582,10 @@ without the PasteDeploy configuration file: .. literalinclude:: MyProject/myproject/run.py :linenos: -#. Lines 1 - 2 import functions from :mod:`repoze.bfg` that we use later. +#. Line 1 imports the ``make_app`` functions from + :mod:`repoze.bfg.router` that we use later. -#. Lines 4-12 define a function that returns a :mod:`repoze.bfg` Router +#. Lines 3-9 define a function that returns a :mod:`repoze.bfg` Router application from :ref:`router_module` . This is meant to be called by the :term:`PasteDeploy` framework as a result of running ``paster serve``. -- cgit v1.2.3