Description
This is currently just a redirect to a basic template view and it is not informed about the Controller from where it comes from.
We plan to have some Controller feature to edit a custom success message in HTML. So the success view will always need to know the Controller it comes from, this must not be lost.
The redirect way has benefit that it avoid duplicate POST on browser reload.
However it may have been useful also that success view know also the Entry that was saved with the Controller request. Without redirection (rendering success in form_valid()
) would have enabled this easily. But we prefer to keep the redirect way.
Maybe we could add saved Entry reference into the user session, but it would be a security risk so it would need to be strongly thinked.