Re: Template Tag Not Reinitialized in Loop

2010-05-05 Thread Apreche
Well, I think my suggestion is obviously that when a template tag is in a loop, it should be re-initiated on every iteration, since that would avoid unexpected and non-obvious side effects. -Scott On May 5, 2:52 pm, "burc...@gmail.com" wrote: > Hi Apreche, > > I don't

Template Tag Not Reinitialized in Loop

2010-05-05 Thread Apreche
I had a really strange bug in one of my custom template tags today. It took me the entire morning to figure it out, but I finally did. I'm not sure if it's a bug or a feature, but I wanted to make a post to help the next person who has this same problem. Let's pretend you make a custom template ta