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