Skip to content
Permalink
0b68e3b9d9
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
9 lines (7 sloc) 403 Bytes
from flask import Blueprint, render_template, request, url_for, escape, redirect, session
from app.functions.auth import password_check
from app.functions.data_tools import data_getter
main_bl = Blueprint('main', __name__)
@main_bl.route("/", methods = ["GET", "POST"])
def index():
return render_template("main_index.html", locations = data_getter.get_locations(), username = session['username'])