'Make sure there\'s not more than one default.'

def clean(self):

    if (self.default and CourseCompleteImageConfiguration.objects.filter(default=True).exclude(id=self.id)):
        raise ValidationError(_(u'There    can    be    only    one    default    image.'))
