avoid printing internal loop and loop_args

pull/14769/head
Brian Coca 10 years ago
parent e60fef4dbe
commit 3e28ee0fd4

@ -13,7 +13,9 @@ Note that not all directives affect the object itself and might just be there to
{{ name }}
{{ '-' * name|length }}
{% for attribute in oblist[name].__dict__['_attributes']|sort %}
{% if attribute not in ['loop', 'loop_args'] %}
* {{ attribute }}
{% endif %}
{% endfor %}
{% endfor %}

Loading…
Cancel
Save