How to display total record count against models in django admin

Posted by Rog on Stack Overflow See other posts from Stack Overflow or by Rog
Published on 2010-06-15T01:52:57Z Indexed on 2010/06/15 2:02 UTC
Read the original article Hit count: 448

Is there a neat way to make the record/object count for a model appear on the main model list in the admin module?

I have found techniques for showing counts of related objects within sets in the list_display page (and I can see the total in the pagination section at the bottom of the same), but haven't come across a neat way to show the record count at the model list level.

© Stack Overflow or respective owner

Related posts about python

Related posts about django