diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-20 16:29:24 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-20 16:29:24 -0400 |
| commit | 78de0a0e5a9164e22ff07d02dae263a9ac38fcf5 (patch) | |
| tree | bc3634c3b2c3a647b43cbe715b968997c63c3b52 /docs/narr | |
| parent | 2edbe1b61c7ace0a13f0d7242f333982a6fc9fde (diff) | |
| parent | d7550c4f8ae023f9a00d6293ba3c94ca14b412f2 (diff) | |
| download | pyramid-78de0a0e5a9164e22ff07d02dae263a9ac38fcf5.tar.gz pyramid-78de0a0e5a9164e22ff07d02dae263a9ac38fcf5.tar.bz2 pyramid-78de0a0e5a9164e22ff07d02dae263a9ac38fcf5.zip | |
Merge branch 'fix.renderer-interfaces'
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/renderers.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst index 740c81555..4f8c4bf77 100644 --- a/docs/narr/renderers.rst +++ b/docs/narr/renderers.rst @@ -480,8 +480,11 @@ Adding a New Renderer You may add a new renderer by creating and registering a :term:`renderer factory`. -A renderer factory implementation is typically a class with the -following interface: +A renderer factory implementation should conform to the +:class:`pyramid.interfaces.IRendererFactory` interface. It should be capable +of creating an object that conforms to the +:class:`pyramid.interfaces.IRenderer` interface. A typical class that follows +this setup is as follows: .. code-block:: python :linenos: |
