We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Save and continue
1 parent 65e6c79 commit 89b425bCopy full SHA for 89b425b
flask_admin/model/base.py
@@ -2144,7 +2144,7 @@ def edit_view(self):
2144
if '_add_another' in request.form:
2145
return redirect(self.get_url('.create_view', url=return_url))
2146
elif '_continue_editing' in request.form:
2147
- return redirect(request.url)
+ return redirect(self.get_url('.edit_view', id=self.get_pk_value(model)))
2148
else:
2149
# save button
2150
return redirect(self.get_save_return_url(model, is_created=False))
0 commit comments