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