Thanks James.

On May 16, 12:13 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 5/16/07, Renato Lipi <[EMAIL PROTECTED]> wrote:
>
> > I am using FORLOOP built-in tag. There is a time that I need to restart this
> > count, setting forloop.counter=0. How can I do something like that?
>
> The plain template language (deliberately) cannot perform variable
> assignments; custom template tags can, though, so you might look into
> writing a tag to "reset" the loop.
>
> You might also consider whether there's some logic missing in your
> view which would make this template loop reset unnecessary.
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to