successful upload now redirects to the image page

This commit is contained in:
Pünkösd Marcell 2020-11-28 22:19:12 +01:00
parent 9a204bd3ba
commit fa4bbbf59c

View File

@ -105,4 +105,4 @@ class UploadView(FlaskView):
os.unlink(converted_png_path) os.unlink(converted_png_path)
db.session.commit() db.session.commit()
return redirect(url_for('UploadView:index')) # TODO: report item id return redirect(url_for('ItemView:get', id_=item.id))