fdsfds
This commit is contained in:
parent
9552e3b01b
commit
71325bcf57
10 changed files with 53 additions and 29 deletions
|
@ -155,6 +155,13 @@ def settings_profile_post(v):
|
|||
msg="Your bio has been updated.")
|
||||
|
||||
|
||||
elif request.values.get("bio") == "":
|
||||
v.bio = None
|
||||
v.bio_html = None
|
||||
g.db.add(v)
|
||||
g.db.commit()
|
||||
return render_template("settings_profile.html", v=v, msg="Your bio has been updated.")
|
||||
|
||||
elif request.values.get("sig") == "":
|
||||
v.sig = None
|
||||
v.sig_html = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue