def get_place_detal(): cid = request.args.get('cid', "") place_info = getPlaceDetail(cid) resp = flask.make_response(flask.render_template( 'placedetail.html', place_info=place_info)) return resp
def get_place_detal(): cid = request.args.get('cid', "1") app.logger.debug("Accessing placedetail.html %s", cid) place_info = getPlaceDetail(cid) resp = flask.make_response(flask.render_template( 'placedetail.html', place_info=place_info, option="mytrace")) return resp
def get_place_detal(): cid = request.args.get('cid', "1") app.logger.debug("Accessing placedetail.html %s", cid) place_info = getPlaceDetail(cid) resp = flask.make_response( flask.render_template('placedetail.html', place_info=place_info, option="mytrace")) return resp
def edit_my_place(): uid = request.args.get('uid', "1") cid = request.args.get('cid', "1") app.logger.debug("Accessing editplace.html %s", cid) place_info = getPlaceDetail(cid) friends = getFriends(uid) places = getPlaces() resp = flask.make_response(flask.render_template( 'editplace.html', place_info=place_info, places=places, friends=friends)) return resp
def edit_my_place(): uid = request.args.get('uid', "1") cid = request.args.get('cid', "1") app.logger.debug("Accessing editplace.html %s", cid) place_info = getPlaceDetail(cid) friends = getFriends(uid) places = getPlaces() resp = flask.make_response( flask.render_template('editplace.html', place_info=place_info, places=places, friends=friends)) return resp
def setUp(self): self.place_detail1 = getPlaceDetail("1") self.place_detail2 = getPlaceDetail("2") self.place_detail5 = getPlaceDetail("5") # out of range