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