I have this code
{% for account in object_list %}
{% for field, value in book.get_fields %}
{{ field.v
-
You can't use break statement but you can choose not to print them on html. It's not a best solution but you can use it. I use the following one;
{%for tumbnail in image %}
{%if tumbnail.object_id == element.id %}
{{ "" }}
Its basicly seem like this on browser.
http://i.stack.imgur.com/MPbR3.jpg
- 热议问题