Jonathan, Many thanks for this.
Sorry to be a pain , but I have a couple of follow on questions, so I'm clear. 1. How should I best implement this code. As a custom tag or in the view? 2. Any suggestions on how I should pass the product.id to the code? Thanks MerMer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---