avoid printing internal loop and loop_args
This commit is contained in:
parent
e60fef4dbe
commit
3e28ee0fd4
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue