summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-07-01 21:28:05 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-07-01 21:28:05 (GMT)
commit0d6ab6fbbd6093b619a6f39242f49ffe27f56f2f (patch)
treefec166bd86dca1b1a926f0d59e68357ab75adb95 /README
parent455a162057ef944704606602ec769f2de4a5a4eb (diff)
downloadcmsplugin-blurp-0d6ab6fbbd6093b619a6f39242f49ffe27f56f2f.zip
cmsplugin-blurp-0d6ab6fbbd6093b619a6f39242f49ffe27f56f2f.tar.gz
cmsplugin-blurp-0d6ab6fbbd6093b619a6f39242f49ffe27f56f2f.tar.bz2
modify the signature of Renderer interface's render() method
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 1 insertions, 5 deletions
diff --git a/README b/README
index 4807b7c..eeecbde 100644
--- a/README
+++ b/README
@@ -17,7 +17,7 @@ A renderer is a class with the following interface::
def __init__(self, slug, config):
pass
- def render(self, context, instance, placeholder):
+ def render(self, context):
'''Return the context to render the template'''
pass
@@ -279,7 +279,3 @@ You can render a block in any template using the template tag ``render_blurp``:
{% load blurp_tags %}
{% render_blurp "student_table" %}
-
-Beware that it will not work with renderes doing any access to the
-``placeholder`` or ``instance`` parameter of their render method as those
-object are not available in a random template.