django-badger is a reusable Django app for creating and awarding badges. See also badges.mozilla.org