Added some docs for make_request and global_registries.
| | |
| | | |
| | | .. 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. |
| | | |
| | |
| | | |
| | | .. autofunction:: get_root |
| | | |
| | | .. autofunction:: make_request |
| | | |
| | |
| | | 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 |