Redirect to the fetch list after creation

master
Pierre Jaury 9 years ago
parent 30ecbf81cd
commit f832b74c85

@ -32,7 +32,7 @@ def fetch_create(user_address):
db.session.commit()
flask.flash('Fetch configuration created')
return flask.redirect(
flask.url_for('.fetch_create', user_address=user.address))
flask.url_for('.fetch_list', user_address=user.address))
return flask.render_template('fetch/create.html', form=form)

Loading…
Cancel
Save