Пример #1
0
def savePatient():
    Patient.create(
        fname=request.form['form_fname'],
        lname=request.form['form_lname'],
        contact=request.form['form_contact'],
        history=request.form['form_history'],
    )

    allpatients = Patient.select()

    return redirect(url_for("home"))