I bet context['page'] is different each time, but the tag initialization is called only once. So it's probably your programming error, not a bug in django.
On Tue, May 11, 2010 at 1:29 AM, patrick91 <patrick.armi...@gmail.com> wrote: > I've this problem too > > I created a custom template tag that renders info about a model > > but when I use that tag in a for the tag is used just one time. Like > this > > {% for page in pages %} > {% show_info page %} > {% endfor %} > > ------- > > page info #1 > page info #1 > page info #1 > > should I provide my custom template tag code? > > > Thanks for any reply :) > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-develop...@googlegroups.com. > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- Best regards, Yuri V. Baburov, ICQ# 99934676, Skype: yuri.baburov, MSN: bu...@live.com -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.