Skip to content
Permalink
740c0504e7
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (8 sloc) 468 Bytes
from flask import Blueprint, render_template, request, session, url_for, escape, redirect
from app.functions.data_tools import data_getter
map_bl = Blueprint('map', __name__)
@map_bl.route("/", methods = ["GET", "POST"])
def index():
return render_template("map/index.html",
locations = data_getter.get_map_locations_for(session['username']),
dates = data_getter.get_map_location_dates(session['username']))