'Stop accidentally replacing the db object'

def __db_set(self, value):

    string = 'Cannot    assign    directly    to    db    object!    '
    string += 'Use    db.attr=value    instead.'
    raise Exception(string)
