def addList(): newList = TodoList() newList.name = "New Todo List" db.session.add(newList) db.session.commit() return redirect(url_for('routes.showLists'))