def save(self, *args, **kwargs):
    if (self.id and (not kwargs.pop('force_modification', False))):
        raise Exception('Modification not allowed without force_modification parameter on save.')
    self.uuid = uuid4()
    super(LOT, self).save(*args, **kwargs)
def save(self, *args, **kwargs):
    if (self.id and (not kwargs.pop('force_modification', False))):
        raise Exception('Modification not allowed without force_modification parameter on save.')
    self.uuid = uuid4()
    super(LOT, self).save(*args, **kwargs)