Thursday, October 15, 2020

Re: forloop.counter

thanks i forgot it

Il giorno giovedì 15 ottobre 2020 alle 16:39:45 UTC+2 Larry.Martell@gmail.com ha scritto:
On Thu, Oct 15, 2020 at 7:32 AM luca72.b...@gmail.com
<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+unsubscribe@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.

No comments:

Post a Comment