some settings functionality
parent
bb2b1c44d0
commit
21e37d197d
4
menu.py
4
menu.py
|
@ -66,8 +66,8 @@ def index():
|
|||
elif action == "upload":
|
||||
return redirect(url_for("upload.index"))
|
||||
elif action == "settings":
|
||||
#settings = get_settings(user_id)
|
||||
return render_template("settings.html", username=username, user_id=user_id)
|
||||
settings = get_settings(user_id)
|
||||
return render_template("settings.html", username=username, user_id=user_id, settings=settings)
|
||||
elif action == "instructions":
|
||||
return render_template("instructions.html", username=username, user_id=user_id)
|
||||
elif action == "about":
|
||||
|
|
Loading…
Reference in New Issue