Re: forloop.counter

2020-10-15 Thread GBELE CEDRIC EMMANUEL
{% if forloop.counter < variable  %}

Le jeu. 15 oct. 2020 à 15:01, nirali sanghvi <18comp.niralisang...@gmail.com>
a écrit :

> Ig this is bcoz u are using jinga format in a jinga format.
>
> On Thu 15 Oct, 2020, 8:04 PM luca72.b...@gmail.com, <
> luca72.bertolo...@gmail.com> wrote:
>
>> i have this :
>>  {% if forloop.counter < {{ variable }} %}
>> i have this error:
>>
>> Could not parse the remainder: '{{' from '{{'
>>
>> how i can solve 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 django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/58585ced-68c2-4b46-862f-36f919d13555n%40googlegroups.com
>> 
>> .
>>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANqtQVOsVi6uDpurd2AyDC6zyLJk%3D-wUX%3DC12ay%2B3nFs1S58MA%40mail.gmail.com
> 
> .
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABTw%3DMVsxCySxHsmiHo04z_PH_thOvPgLnJAv42UZ5hNahODhQ%40mail.gmail.com.


Re: forloop.counter

2020-10-15 Thread nirali sanghvi
Ig this is bcoz u are using jinga format in a jinga format.

On Thu 15 Oct, 2020, 8:04 PM luca72.b...@gmail.com, <
luca72.bertolo...@gmail.com> wrote:

> i have this :
>  {% if forloop.counter < {{ variable }} %}
> i have this error:
>
> Could not parse the remainder: '{{' from '{{'
>
> how i can solve 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/58585ced-68c2-4b46-862f-36f919d13555n%40googlegroups.com
> 
> .
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANqtQVOsVi6uDpurd2AyDC6zyLJk%3D-wUX%3DC12ay%2B3nFs1S58MA%40mail.gmail.com.


Re: forloop.counter

2020-10-15 Thread luca72.b...@gmail.com
thanks i forgot it

Il giorno giovedì 15 ottobre 2020 alle 16:39:45 UTC+2 
larry.mart...@gmail.com ha scritto:

> On Thu, Oct 15, 2020 at 7:32 AM luca72.b...@gmail.com
>  wrote:
> >
> > i have this :
> > {% if forloop.counter < {{ variable }} %}
> > i have this error:
> >
> > Could not parse the remainder: '{{' from '{{'
> >
> > how i can solve it?
>
> You don't need {{ }} inside of a {% %}
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/92123136-638f-47c7-a49f-4ce97f34a4b9n%40googlegroups.com.


Re: forloop.counter

2020-10-15 Thread Larry Martell
On Thu, Oct 15, 2020 at 7:32 AM luca72.b...@gmail.com
 wrote:
>
> i have this :
>  {% if forloop.counter < {{ variable }} %}
> i have this error:
>
> Could not parse the remainder: '{{' from '{{'
>
> how i can solve it?

You don't need {{ }} inside of a {% %}

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACwCsY6NE7muV0oSnpUgAVA0sSfQnmp_i_cSb5DddwMGxbKe0Q%40mail.gmail.com.