def delete(self, **kwargs):
        self.award_set.all().delete()
        super(Badge, self).delete(**kwargs)
Make sure deletes cascade to awards
dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Badge.delete