alesdotio/django-admin-shortcuts — pull request #5 by piquadrat (2012-10-24 12:44:32+00:00)
Title: let counter functions optionally take the request object

this is useful when the count depends on the logged in user or other data depending on the request