'Prepares the value for saving in the database.'

def get_db_prep_save(self, value, connection):

    if (value is None):
        return None
    else:
        return connection.ops.Adapter(self.get_prep_value(value))
