I have this code
{% for account in object_list %}
{% for field, value in book.get_fields %}
{{ field.v
-
There is no break in Django template system. Django template system is not programmed with python but with its own language.
Depending on what you need to do, you might find this question useful. Otherwise, just put the one and only account you are trying to print on HTML on a special field on your RequestContext.
- 热议问题