On 3/8/07, Merric Mercer <[EMAIL PROTECTED]> wrote: > > I have a template that loops through a simple query set and displays the > data in a table. > > I now need to add another column to my table. However, the data in the > new column is a calculation based on two of the other fields > in that record. > > I presume that this can be done using a template tag, but I can't work > out how it can be done. I can't see how I can pass the values of the > other fields into > a tag. Can anybody please advise the best way to do this. > > MerMer > You can see :
http://www.djangosnippets.org/snippets/9/ -- I like python! UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---