Ported to Django 1.6, cleaned up code, added django-model-utils.