jango-users@googlegroups.com] On
> Behalf Ofgintare
> Sent: 07 January 2011 08:52
> To: Django users
> Subject: list of lists in template
>
> in view.py
> ...
> Ltarp.append([item.Wordword, item.WordTranslEn, item.WordNotesGram,
> item.WordConcl])
> ..
> Lans.append(
users
Subject: list of lists in template
in view.py
...
Ltarp.append([item.Wordword, item.WordTranslEn, item.WordNotesGram,
item.WordConcl])
..
Lans.append([sen.Sent, sen.SentTransl, Ltarp ] )
in template.html
{% if Lans %}
{% for smth in Lans %}
{{smth.0}}
{% for Ltarp in s
On Fri, Jan 7, 2011 at 12:22 PM, gintare wrote:
>
> in view.py
> ...
> Ltarp.append([item.Wordword, item.WordTranslEn, item.WordNotesGram,
> item.WordConcl])
> ..
> Lans.append([sen.Sent, sen.SentTransl, Ltarp ] )
>
> in template.html
> {% if Lans %}
>
> {% for smth in Lans %}
>
> {{smth.0}}
in view.py
...
Ltarp.append([item.Wordword, item.WordTranslEn, item.WordNotesGram,
item.WordConcl])
..
Lans.append([sen.Sent, sen.SentTransl, Ltarp ] )
in template.html
{% if Lans %}
{% for smth in Lans %}
{{smth.0}}
{% for Ltarp in smth.3 %}
{{Ltarp.0}}
{% endfo
4 matches
Mail list logo