Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch

pull/3/head
Wilhelm Westermark 6 years ago
commit 56d2f9996c

@ -228,7 +228,8 @@ def alter(partID):
r = db_engine.execute(s, partno=request.form['partno'],
description=request.form['description'],
datasheet=datasheet_filename,
location_id=request.form['location_id'])
location_id=request.form['location_id'],
id=partID)
return '{"status":"ok"}'
@app.route('/parts/delete/<partID>')

Loading…
Cancel
Save