Michael Merickel
2011-07-11 37e3bebf0165ac5f32c82c0bc87296e0ca5fefd3
Added some docs for make_request and global_registries.
3 files modified
14 ■■■■■ changed files
docs/api/config.rst 10 ●●●●● patch | view | raw | blame | history
docs/api/scripting.rst 2 ●●●●● patch | view | raw | blame | history
pyramid/scripting.py 2 ●●● patch | view | raw | blame | history
docs/api/config.rst
@@ -86,3 +86,13 @@
     .. automethod:: testing_add_renderer
  .. attribute:: global_registries
     A set of registries that have been created for :app:`Pyramid`
     applications. The object itself supports iteration and has a
     ``last`` property containing the last registry loaded.
     The registries contained in this object are stored as weakrefs,
     thus they will only exist for the lifetime of the actual
     applications for which they are being used.
docs/api/scripting.rst
@@ -7,3 +7,5 @@
  .. autofunction:: get_root
  .. autofunction:: make_request
pyramid/scripting.py
@@ -39,7 +39,7 @@
    templates.
    If ``registry`` is not supplied, the last registry loaded from
    :meth:`pyramid.config.global_registries` will be used. If you have
    :attr:`pyramid.config.global_registries` will be used. If you have
    loaded more than one :app:`Pyramid` application in the current
    process, you may not want to use the last registry loaded, thus
    you can search the ``global_registries`` and supply the appropriate