def create_journal(): uid = request.args.get('uid', "1") app.logger.debug("Accessing createjournal.html %s", uid) places = getMyPlaces(uid) resp = flask.make_response( flask.render_template('createjournal.html', places=places)) return resp
def create_journal(): uid = request.args.get('uid', "1") app.logger.debug("Accessing createjournal.html %s", uid) places = getMyPlaces(uid) resp = flask.make_response(flask.render_template( 'createjournal.html', places=places)) return resp
def get_my_place_map(): uid = request.args.get('uid', "1") app.logger.debug("Accessing placemap.html %s", uid) places = getMyPlaces(uid) resp = flask.make_response( flask.render_template('map.html', places=places, option="mytrace")) return resp
def get_my_trace(): uid = request.args.get('uid', "") places = getMyPlaces(uid) journals = getMyJournals(uid) resp = flask.make_response(flask.render_template( 'mytrace.html', places=places, journals=journals)) return resp
def get_my_place_map(): uid = request.args.get('uid', "1") app.logger.debug("Accessing placemap.html %s", uid) places = getMyPlaces(uid) resp = flask.make_response(flask.render_template( 'map.html', places=places, option="mytrace")) return resp
def get_my_trace(): uid = request.args.get('uid', "1") app.logger.debug("Accessing mytrace.html %s", uid) places = getMyPlaces(uid) journals = getMyJournals(uid) resp = flask.make_response(flask.render_template( 'trace.html', places=places, journals=journals, option="mytrace")) return resp
def get_my_trace(): uid = request.args.get('uid', "1") app.logger.debug("Accessing mytrace.html %s", uid) places = getMyPlaces(uid) journals = getMyJournals(uid) resp = flask.make_response( flask.render_template('trace.html', places=places, journals=journals, option="mytrace")) return resp
def setUp(self): self.user1_places = getMyPlaces("1") self.user2_places = getMyPlaces("2") self.user3_places = getMyPlaces("3")