@app.route("/edit/", methods = [\'GET\', \'POST\']) def edit(sno): if (\'user\' in session and session[\'user\'] == params[\'admin_user\'