예제 #1
0
def cities_id(id):
    """ modift """
    return do(City, id)
예제 #2
0
def amenities():
    """ list or create """
    return do(Amenity)
예제 #3
0
def amenities_id(id):
    """ modifyy """
    return do(Amenity, id)
예제 #4
0
def reviews_id(id):
    """ modift """
    return do(Review, id, ("user_id", "place_id"))
예제 #5
0
def users_id(id):
    """ modify """
    return do(User, id, ("email", ))
예제 #6
0
def states_id(id):
    """ modify """
    return do(State, id)
예제 #7
0
def states():
    """ list or create """
    return do(State)
예제 #8
0
def places_id(id):
    """ modift """
    return do(Place, id, ("user_id", "city_id"))