Commit 1d5d917b authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

controllers/patient.py: streamline log message

parent 1ac7b013
......@@ -345,7 +345,7 @@ def edit_form():
)
res = {"redirect": "back",
"message": "patient %s %s edited" % (request.vars["first_name"], request.vars["last_name"])}
"message": "%s %s (%s): patient edited" % (request.vars["first_name"], request.vars["last_name"], request.vars["id"])}
log.info(res)
return gluon.contrib.simplejson.dumps(res, separators=(',',':'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment