diff --git a/README b/README index eeecbde..77b37f8 100644 --- a/README +++ b/README @@ -274,8 +274,31 @@ Template:: Template tag ============ +render_blurp +------------ + You can render a block in any template using the template tag ``render_blurp``: {% load blurp_tags %} {% render_blurp "student_table" %} + +blurp block tag +--------------- + +You can insert the context generated by a blurp in your current template to do +the templating yourself, beware that you will lose ajaxification and dynamic +reloading if you use this tag as we cannot send your inline template to the +ajax endpoint:: + + {% load blurp_tags %} + + {% blurp "student_table %} + {% for row in students %} + + {{ row.name }} + {{ row.age }} + {{ row.birthdate }} + + {% endfor %} + {% endblurp %}