added todo...
parent
8ed82f2a9e
commit
85b0a0f8b7
|
@ -8,6 +8,7 @@ from create_db import Card, User, get_session
|
|||
bp = Blueprint('matches', __name__, url_prefix='/matches')
|
||||
|
||||
def get_matches(user_id):
|
||||
#@TODO this is buggy
|
||||
dbsession = get_session()
|
||||
|
||||
list_of_matches = []
|
||||
|
@ -55,4 +56,4 @@ def index():
|
|||
names_by_ids[id] = users.get(id).username
|
||||
emails_by_ids[id] = users.get(id).email
|
||||
|
||||
return render_template("matches.html", username=username, list_of_matches=list_of_matches, names_by_ids=names_by_ids, emails_by_ids=emails_by_ids, users=users)
|
||||
return render_template("matches.html", username=username, list_of_matches=list_of_matches, names_by_ids=names_by_ids, emails_by_ids=emails_by_ids, users=users)
|
Loading…
Reference in New Issue