Martijn Pieters
2012-03-01 6269a1c058a77438b90a165c6541685c1bfaa8db
Remove mention of the `root_factory` argument.

The example code earlier on the page does not use the `root_factory` argument, only the `settings` argument. This is a fix for pyramid issue #452.
1 files modified
7 ■■■■■ changed files
docs/narr/startup.rst 7 ●●●●● patch | view | raw | blame | history
docs/narr/startup.rst
@@ -102,10 +102,9 @@
   the meanings of these keys.
#. The ``main`` function first constructs a
   :class:`~pyramid.config.Configurator` instance, passing a root resource
   factory (constructor) to it as its ``root_factory`` argument, and
   ``settings`` dictionary captured via the ``**settings`` kwarg as its
   ``settings`` argument.
   :class:`~pyramid.config.Configurator` instance, passing the ``settings``
   dictionary captured via the ``**settings`` kwarg as its ``settings``
   argument.
   The ``settings`` dictionary contains all the options in the ``[app:main]``
   section of our .ini file except the ``use`` option (which is internal to