summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-07-01 14:49:39 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-07-01 14:49:39 (GMT)
commit455a162057ef944704606602ec769f2de4a5a4eb (patch)
treeccb48a806ca36e8c73fd126f92bdaeb4137ba1c9 /README
parent169c3ed842f6d812a35bc87585757155e4ac7b9c (diff)
downloadcmsplugin-blurp-455a162057ef944704606602ec769f2de4a5a4eb.zip
cmsplugin-blurp-455a162057ef944704606602ec769f2de4a5a4eb.tar.gz
cmsplugin-blurp-455a162057ef944704606602ec769f2de4a5a4eb.tar.bz2
README: add documentation about the template tag
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index d833f63..4807b7c 100644
--- a/README
+++ b/README
@@ -270,3 +270,16 @@ Template::
</tr>
{% endfor %}
</table>
+
+Template tag
+============
+
+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.