Exemple #1
0
 def modified(self):
     if self.record and self.field:
         value = normalize_markup(self.field.get_client(self.record) or '')
         return value != self.get_value()
     return False
Exemple #2
0
 def modified(self):
     if self.record and self.field:
         value = normalize_markup(self.field.get_client(self.record) or '')
         value = value.decode('utf-8')
         return value != self.get_value()
     return False