I'm new to django but working hard to come up to speed. I need to make a small change to the admin interface, and am hoping i could get a pointer on how to do this. At the bottom of an admin page, the number of results is displayed in a summary, along with pagination buttons. For example,
"1 [2] 76 payments" Along with showing the number of payments at the bottom, I'd like to display the dollar total for them next to it. One of my columns is payment amount, so it should (i hope) be fairly easy to SUM the results of that column to get this, so it might look like this instead: "1 [2] 76 payments (for $1,500)" The relevant template seems to be admin/pagination.html with "cl.result_count" displaying the number of objects. How would i insert my own tag into this template to show the SUM of my payment amount column for said objects? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.