successful upload now redirects to the image page
This commit is contained in:
parent
9a204bd3ba
commit
fa4bbbf59c
@ -105,4 +105,4 @@ class UploadView(FlaskView):
|
||||
os.unlink(converted_png_path)
|
||||
|
||||
db.session.commit()
|
||||
return redirect(url_for('UploadView:index')) # TODO: report item id
|
||||
return redirect(url_for('ItemView:get', id_=item.id))
|
||||
|
Loading…
Reference in New Issue
Block a user