On Sun, Feb 5, 2012 at 1:33 AM, Peter of the Norse <rahmcoff+...@radio1190.org> wrote: > You should look into making a foreign key relationship if there actually is > one. That way you can just annotate the the sums.
Opted for the same now. > Otherwise you should calculate the sum in the view (NOT the template) and add > it to the client. Python allows you to add any value you >want to any object. > Thank you for your suggestions. :-) -- Sandeep Kaur E-Mail: mkaurkha...@gmail.com Blog: sandymadaan.wordpress.com -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.