def clean(self): ''' Needed to ensure reference name uniqueness within a centre ''' return uniqueness(self,self.hostCentre,'name')
def clean(self): ''' Needed to ensure name uniqueness within a centre, and handle the subform ''' return uniqueness(self,self.hostCentre,'title')