'Ensure that a field is not edited in an update operation.'

def _validate_non_updatable(self, value):

    if self.instance:
        raise ValidationError('This    field    is    not    allowed    in    an    update.')
    return value
