Mercurial > farol > farol
diff farol/producttree.py @ 62:ce49bd1512dd
Make pyflafes a happier
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Wed, 08 Oct 2014 12:55:40 +0200 |
parents | 7c4d001839e7 |
children | 264d4579f6bf |
line wrap: on
line diff
--- a/farol/producttree.py Wed Oct 08 12:06:50 2014 +0200 +++ b/farol/producttree.py Wed Oct 08 12:55:40 2014 +0200 @@ -181,7 +181,7 @@ if request.form['parent_branch'] and request.form['parent_relationship']: flash('Cannot set a parent branch and parent relationship', 'danger') - return redirect(url_for('.edit_product', productid=productid)) + return redirect(url_for('.add_product')) parent = ptree if request.form['parent_branch']: