Skip to content
Snippets Groups Projects
Commit 140afe10 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Better success message

parent 643a91fa
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ def api_contact(): ...@@ -51,7 +51,7 @@ def api_contact():
name=request.form['name'], name=request.form['name'],
text=request.form['text'])) text=request.form['text']))
db.session.commit() db.session.commit()
return 'ok' return 'Thanks for your message! I\'ll respond as soon as I can.'
@app.context_processor @app.context_processor
def cp_is_admin(): def cp_is_admin():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment