Michal, Thanks very much for your reply.
I guessed, that is something like in your example.
And I find it in template.
So the conclusion is that there is no more allowed in django template
engine to use *for* loop with less elements to unpack,
and I think that is also consistent and more pytho
On Mon, Jul 17, 2017 at 03:46:30PM +0200, Ogi Vranesic wrote:
> Hi
>
> I have used some templates in older django versions.
> But now in django 1.11 using the same templates, the error:
>
> ValueError: Need 2 values to unpack in for loop; got 3.
>
> will be raised on line 207 in module django.te
Hi
I have used some templates in older django versions.
But now in django 1.11 using the same templates, the error:
ValueError: Need 2 values to unpack in for loop; got 3.
will be raised on line 207 in module django.template.defaulttags
by the method render of class ForNode
Actually is by me l
3 matches
Mail list logo