summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2013-02-13 18:28:37 -0600
committerMichael Merickel <michael@merickel.org>2013-02-13 18:28:37 -0600
commit8c952d940272d883169973833ca215ac3248e94e (patch)
tree7ae7ca039d92fec947c22f66293c4585f08c1a92
parentcaf63baba3460f7d70e20494a91774cb9c3368a9 (diff)
downloadpyramid-8c952d940272d883169973833ca215ac3248e94e.tar.gz
pyramid-8c952d940272d883169973833ca215ac3248e94e.tar.bz2
pyramid-8c952d940272d883169973833ca215ac3248e94e.zip
add import in code block
-rw-r--r--docs/narr/renderers.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst
index 34b9ad00c..08ebd881e 100644
--- a/docs/narr/renderers.rst
+++ b/docs/narr/renderers.rst
@@ -316,6 +316,7 @@ time "by hand". Configure a JSONP renderer using the
.. code-block:: python
from pyramid.config import Configurator
+ from pyramid.renderers import JSONP
config = Configurator()
config.add_renderer('jsonp', JSONP(param_name='callback'))