{"action":"created","issue":{"url":"https://api.github.com/repos/darklow/django-suit/issues/370","labels_url":"https://api.github.com/repos/darklow/django-suit/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/darklow/django-suit/issues/370/comments","events_url":"https://api.github.com/repos/darklow/django-suit/issues/370/events","html_url":"https://github.com/darklow/django-suit/issues/370","id":78296096,"number":370,"title":"Ability to show the number of objects in each model and other statistics","user":{"login":"SalahAdDin","id":5034215,"avatar_url":"https://avatars.githubusercontent.com/u/5034215?v=3","gravatar_id":"","url":"https://api.github.com/users/SalahAdDin","html_url":"https://github.com/SalahAdDin","followers_url":"https://api.github.com/users/SalahAdDin/followers","following_url":"https://api.github.com/users/SalahAdDin/following{/other_user}","gists_url":"https://api.github.com/users/SalahAdDin/gists{/gist_id}","starred_url":"https://api.github.com/users/SalahAdDin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalahAdDin/subscriptions","organizations_url":"https://api.github.com/users/SalahAdDin/orgs","repos_url":"https://api.github.com/users/SalahAdDin/repos","events_url":"https://api.github.com/users/SalahAdDin/events{/privacy}","received_events_url":"https://api.github.com/users/SalahAdDin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T23:44:46Z","updated_at":"2015-05-20T07:03:44Z","closed_at":null,"body":"Hi guys,\r\n\r\nIm trying to make a custom panel where i can show many statistics from the models, one of these is a objects count fo each model, but i couldn't it.\r\n\r\nI triying using the next code and modify the tags file, but don't works.\r\n\r\n```html\r\n<div class=\"module\" id=\"recent-actions-module\">\r\n         <h4 class=\"italic-title\">{% trans 'Statistics' %}</h4>\r\n         {% load log %}\r\n         {% get_admin_log 10 as admin_log for_user user %}\r\n         {% if not admin_log %}\r\n         <p>{% trans 'None available' %}</p>\r\n         {% else %}\r\n            {% if app_list %}\r\n            <ul class=\"list-group actionlist\">\r\n                {% for app in app_list %}\r\n                {% for model in app.models %}\r\n                <li class=\"list-group-item\"><span class=\"badge\" style=\"float: right\">\r\n                    <a href=\"{{ model.admin_url }}\">{{ model.count }}</a></span>\r\n                    <i class=\"{% firstof app.icon 'icon-chevron-right' %}\"></i>{{ model.name }}</li>\r\n                {% endfor %}\r\n                {% endfor %}\r\n            </ul>\r\n             {% else %}\r\n                <p>{% trans \"You don't have permission to edit anything.\" %}</p>\r\n             {% endif %}\r\n         {% endif %}\r\n      </div>\r\n```\r\n\r\nI try use this fot put the number of objects for each model, but, i couldn't modify your app for get object counts also.\r\n\r\nCan anyone help me?"},"comment":{"url":"https://api.github.com/repos/darklow/django-suit/issues/comments/103783197","html_url":"https://github.com/darklow/django-suit/issues/370#issuecomment-103783197","issue_url":"https://api.github.com/repos/darklow/django-suit/issues/370","id":103783197,"user":{"login":"SalahAdDin","id":5034215,"avatar_url":"https://avatars.githubusercontent.com/u/5034215?v=3","gravatar_id":"","url":"https://api.github.com/users/SalahAdDin","html_url":"https://github.com/SalahAdDin","followers_url":"https://api.github.com/users/SalahAdDin/followers","following_url":"https://api.github.com/users/SalahAdDin/following{/other_user}","gists_url":"https://api.github.com/users/SalahAdDin/gists{/gist_id}","starred_url":"https://api.github.com/users/SalahAdDin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalahAdDin/subscriptions","organizations_url":"https://api.github.com/users/SalahAdDin/orgs","repos_url":"https://api.github.com/users/SalahAdDin/repos","events_url":"https://api.github.com/users/SalahAdDin/events{/privacy}","received_events_url":"https://api.github.com/users/SalahAdDin/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T07:03:44Z","updated_at":"2015-05-20T07:03:44Z","body":"Oh yes me is truth, but, is only a feature :D"}}