for field in formone not fieldi

Il giorno mer 14 ott 2020 alle ore 13:06 RANGA BHARATH JINKA <
[email protected]> ha scritto:

> Hi,
>
>  You have to end for loop for second for loop
>
> On Wed, Oct 14, 2020 at 4:23 PM [email protected] <
> [email protected]> wrote:
>
>> Hello
>> I have this:
>> {% for x in lista_form %}
>>             {% if forloop.counter < 100 %}
>>             {% for fieldi in formone %}
>>                 {{ fieldi.label }} {{ fieldi }}
>>                 {% endfor %}
>>             Immagine <input type="file" name="{{ x }}" id="id_immagine">
>>              {% endif %}
>>             {% if forloop.counter|divisibleby:"2" %}
>>             <br>
>>             {% endif %}
>>
>> The second forloop is not executed, where i have to apply it?
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/7a3e9bec-7e96-4922-ac0d-765ab49eb0d7n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/7a3e9bec-7e96-4922-ac0d-765ab49eb0d7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK5m314L9XN-xiXXzDtx2sr9TZTysY9oyxLjF2De7zCfQ8MAmA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAK5m314L9XN-xiXXzDtx2sr9TZTysY9oyxLjF2De7zCfQ8MAmA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD06pZiNaPscngtMxeYQfjSooBRF50UA2Lg%3DZ36-Y7YXUdQug%40mail.gmail.com.

Reply via email to