def __init__(self):
     PositiveRealNumberFieldValidator.__init__(self)
     self.log_message = 'Invalid calories field entered >>'
     self.error_message = _('Error with the calories field.')
 def __init__(self):
     PositiveRealNumberFieldValidator.__init__(self)
     self.log_message = 'Invalid maximum speed field entered >>'
     self.error_message = _('Error with the maximum speed field.')